Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 5 | <!DOCTYPE bindings [ |
michael@0 | 6 | <!ENTITY % pluginsDTD SYSTEM "chrome://mozapps/locale/plugins/plugins.dtd"> |
michael@0 | 7 | <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd"> |
michael@0 | 8 | <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" > |
michael@0 | 9 | %pluginsDTD; |
michael@0 | 10 | %globalDTD; |
michael@0 | 11 | %brandDTD; |
michael@0 | 12 | ]> |
michael@0 | 13 | |
michael@0 | 14 | <bindings id="pluginBindings" |
michael@0 | 15 | xmlns="http://www.mozilla.org/xbl" |
michael@0 | 16 | xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 17 | xmlns:html="http://www.w3.org/1999/xhtml"> |
michael@0 | 18 | <binding id="pluginProblem" inheritstyle="false" chromeOnlyContent="true"> |
michael@0 | 19 | <resources> |
michael@0 | 20 | <stylesheet src="chrome://mozapps/content/plugins/pluginProblemContent.css"/> |
michael@0 | 21 | <stylesheet src="chrome://mozapps/skin/plugins/pluginProblem.css"/> |
michael@0 | 22 | </resources> |
michael@0 | 23 | |
michael@0 | 24 | <content> |
michael@0 | 25 | <html:div class="mainBox" anonid="main" chromedir="&locale.dir;"> |
michael@0 | 26 | <html:div class="hoverBox"> |
michael@0 | 27 | <html:label> |
michael@0 | 28 | <html:button class="icon" anonid="icon"/> |
michael@0 | 29 | <html:div class="msg msgVulnerabilityStatus" anonid="vulnerabilityStatus"><!-- set at runtime --></html:div> |
michael@0 | 30 | <html:div class="msg msgTapToPlay">&tapToPlayPlugin;</html:div> |
michael@0 | 31 | <html:div class="msg msgClickToPlay" anonid="clickToPlay">&clickToActivatePlugin;</html:div> |
michael@0 | 32 | </html:label> |
michael@0 | 33 | |
michael@0 | 34 | <html:div class="msg msgUnsupported">&missingPlugin;</html:div> |
michael@0 | 35 | <html:div class="msg msgUnsupportedPlatform">&unsupportedPlatform.pre;<html:a class="unsupportedLearnMoreLink" href="" target="_blank">&unsupportedPlatform.learnMore;</html:a>&unsupportedPlatform.post;</html:div> |
michael@0 | 36 | <html:div class="msg msgDisabled">&disabledPlugin;</html:div> |
michael@0 | 37 | <html:div class="msg msgBlocked">&blockedPlugin.label;</html:div> |
michael@0 | 38 | <html:div class="msg msgCrashed"> |
michael@0 | 39 | <html:div class="msgCrashedText" anonid="crashedText"><!-- set at runtime --></html:div> |
michael@0 | 40 | <!-- link href set at runtime --> |
michael@0 | 41 | <html:div class="msgReload">&reloadPlugin.pre;<html:a class="reloadLink" anonid="reloadLink" href="">&reloadPlugin.middle;</html:a>&reloadPlugin.post;</html:div> |
michael@0 | 42 | </html:div> |
michael@0 | 43 | |
michael@0 | 44 | <html:div class="installStatus" anonid="installStatus"> |
michael@0 | 45 | <html:div class="msg msgInstallPlugin"> |
michael@0 | 46 | <html:a class="action-link" anonid="installPluginLink" href="">&installPlugin;</html:a> |
michael@0 | 47 | </html:div> |
michael@0 | 48 | </html:div> |
michael@0 | 49 | <html:div class="msg msgManagePlugins"><html:a class="action-link" anonid="managePluginsLink" href=""></html:a></html:div> |
michael@0 | 50 | <html:div class="submitStatus" anonid="submitStatus"> |
michael@0 | 51 | <html:div class="msg msgPleaseSubmit" anonid="pleaseSubmit"> |
michael@0 | 52 | <html:textarea class="submitComment" |
michael@0 | 53 | anonid="submitComment" |
michael@0 | 54 | placeholder="&report.comment;"/> |
michael@0 | 55 | <html:div class="submitURLOptInBox"> |
michael@0 | 56 | <html:label><html:input class="submitURLOptIn" anonid="submitURLOptIn" type="checkbox"/> &report.pageURL;</html:label> |
michael@0 | 57 | </html:div> |
michael@0 | 58 | <html:div class="submitButtonBox"> |
michael@0 | 59 | <html:span class="helpIcon" anonid="helpIcon" role="link"/> |
michael@0 | 60 | <html:input class="submitButton" type="button" |
michael@0 | 61 | anonid="submitButton" |
michael@0 | 62 | value="&report.please;"/> |
michael@0 | 63 | </html:div> |
michael@0 | 64 | </html:div> |
michael@0 | 65 | <html:div class="msg msgSubmitting">&report.submitting;<html:span class="throbber"> </html:span></html:div> |
michael@0 | 66 | <html:div class="msg msgSubmitted">&report.submitted;</html:div> |
michael@0 | 67 | <html:div class="msg msgNotSubmitted">&report.disabled;</html:div> |
michael@0 | 68 | <html:div class="msg msgSubmitFailed">&report.failed;</html:div> |
michael@0 | 69 | <html:div class="msg msgNoCrashReport">&report.unavailable;</html:div> |
michael@0 | 70 | </html:div> |
michael@0 | 71 | <html:div class="msg msgCheckForUpdates"><html:a class="action-link" anonid="checkForUpdatesLink" href="">&checkForUpdates;</html:a></html:div> |
michael@0 | 72 | </html:div> |
michael@0 | 73 | <html:button class="closeIcon" anonid="closeIcon" title="&hidePluginBtn.label;"/> |
michael@0 | 74 | </html:div> |
michael@0 | 75 | <html:div class="previewPluginContent" anonid="previewPluginContent"><!-- iframe and its src will be set at runtime --></html:div> |
michael@0 | 76 | <html:div style="display:none;"><children/></html:div> |
michael@0 | 77 | </content> |
michael@0 | 78 | <implementation> |
michael@0 | 79 | <constructor> |
michael@0 | 80 | // Notify browser-plugins.js that we were attached, on a delay because |
michael@0 | 81 | // this binding doesn't complete layout until the constructor |
michael@0 | 82 | // completes. |
michael@0 | 83 | this.dispatchEvent(new CustomEvent("PluginBindingAttached")); |
michael@0 | 84 | </constructor> |
michael@0 | 85 | </implementation> |
michael@0 | 86 | </binding> |
michael@0 | 87 | </bindings> |