toolkit/mozapps/plugins/content/pluginInstallerWizard.xul

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <?xml version="1.0"?>
     2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     3    - License, v. 2.0. If a copy of the MPL was not distributed with this
     4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     7 <?xml-stylesheet href="chrome://mozapps/content/plugins/pluginInstallerWizard.css"?>
     8 <?xml-stylesheet href="chrome://mozapps/skin/plugins/pluginInstallerWizard.css"?>
    10 <!DOCTYPE wizard [
    11 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
    12 %brandDTD;
    13 <!ENTITY % pluginsDTD SYSTEM "chrome://mozapps/locale/plugins/plugins.dtd">
    14 %pluginsDTD;
    15 ]>
    17 <wizard id="plugin-installer-wizard" title="&pluginWizard.title;"
    18         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    19         persist="width height screenX screenY sizemode"
    20         style="width: 50em; min-height: 40em;"
    21         onload="wizardInit()"
    22         onwizardfinish="return wizardFinish();">
    24   <script type="application/javascript" src="chrome://mozapps/content/plugins/pluginInstallerWizard.js"/>
    25   <script type="application/javascript" src="chrome://mozapps/content/plugins/pluginInstallerDatasource.js"/>
    26   <script type="application/javascript" src="chrome://mozapps/content/plugins/pluginInstallerService.js"/>
    28   <stringbundleset id="pluginSet">
    29     <stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/>
    30     <stringbundle id="xpinstallStrings" src="chrome://global/locale/xpinstall/xpinstall.properties"/>
    31     <stringbundle id="pluginWizardString" src="chrome://mozapps/locale/plugins/plugins.properties"/>
    32   </stringbundleset>
    34   <wizardpage label="&pluginWizard.firstPage.title;">
    35     <description value="&pluginWizard.checkingForPlugins.description.label;"/>
    36     <separator />
    37     <progressmeter id="ws_request_progress" mode="undetermined"/>
    38   </wizardpage>
    40   <wizardpage label="&pluginWizard.availablePluginsPage.title;"
    41               onpageshow="gPluginInstaller.showPluginList()">
    43     <description value="&pluginWizard.availablePluginsPage.description.label;"/>
    45     <vbox id="pluginList" flex="1" align="left" style="overflow: auto;"/>
    47     <vbox id="installerUI" hidden="true">
    48       <separator />
    49       <description>&pluginWizard.availablePluginsPage.installerUI;</description>
    50     </vbox>
    52     <separator />
    53     <description value="&pluginWizard.availablePluginsPage.continueMsg.label;"/>
    54   </wizardpage>
    56   <wizardpage label="&pluginWizard.licensePage.title;" 
    57               onpageshow="gPluginInstaller.showLicenses()"
    58               onpageadvanced="return gPluginInstaller.showNextLicense();"
    59               onpagerewound="return gPluginInstaller.showPreviousLicense();">
    60     <description id="pluginLicenseLabel"> </description>
    62     <vbox id="licenseContainer" flex="1">
    63       <iframe id="licenseIFrame" flex="1" src="" />
    64     </vbox>
    66     <radiogroup id="licenseRadioGroup">
    67       <radio id="licenseRadioGroup1" disabled="true"
    68              oncommand="gPluginInstaller.licenseRadioGroupChange(true)"
    69              label="&pluginWizard.licensePage.accept.label;"/>
    70       <radio id="licenseRadioGroup2" disabled="true" selected="true"
    71              oncommand="gPluginInstaller.licenseRadioGroupChange(false)"
    72              label="&pluginWizard.licensePage.deny.label;"/>
    73     </radiogroup>
    74   </wizardpage>
    76   <wizardpage label="&pluginWizard.installPluginsPage.title;" 
    77               onpageshow="gPluginInstaller.startPluginInstallation()">
    78     <description value="&pluginWizard.installPluginsPage.description.label;"/>
    80     <separator />
    82     <description id="plugin_install_progress_message" value=""/>
    83     <progressmeter id="plugin_install_progress" mode="undetermined"/>
    84   </wizardpage>
    86   <wizardpage id="lastpage" pageid="lastpage" 
    87               onpageshow="gPluginInstaller.showPluginResults()">
    89     <description id="pluginSummaryDescription" 
    90                  value="&pluginWizard.finalPage.description.label;"/>
    92     <separator />
    94     <grid class="indent">
    95       <columns>
    96         <column/>
    97         <column style="margin-right:15px;"/>
    98         <column style="margin-right:15px;"/>
    99         <column />
   100       </columns>
   102       <rows id="pluginResultList">
   103       </rows>
   104     </grid>
   106     <description id="pluginSummaryRestartNeeded" style="padding-top:10px;"
   107                  value="&pluginWizard.finalPage.restart.label;"/>
   108     <spacer flex="1" />
   109     <description id="moreInfoLink"
   110       style="color:rgb(0, 0, 255); cursor:pointer; text-decoration:underline;"
   111       value="&pluginWizard.finalPage.moreInfo.label;"/>
   112   </wizardpage>
   114 </wizard>

mercurial