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