toolkit/mozapps/plugins/content/pluginProblem.xml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/mozapps/plugins/content/pluginProblem.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,87 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.8 +<!DOCTYPE bindings [
     1.9 +  <!ENTITY % pluginsDTD SYSTEM "chrome://mozapps/locale/plugins/plugins.dtd">
    1.10 +  <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
    1.11 +  <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
    1.12 +  %pluginsDTD;
    1.13 +  %globalDTD;
    1.14 +  %brandDTD;
    1.15 +]>
    1.16 +
    1.17 +<bindings id="pluginBindings"
    1.18 +              xmlns="http://www.mozilla.org/xbl"
    1.19 +              xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    1.20 +              xmlns:html="http://www.w3.org/1999/xhtml">
    1.21 +<binding id="pluginProblem" inheritstyle="false" chromeOnlyContent="true">
    1.22 +    <resources>
    1.23 +        <stylesheet src="chrome://mozapps/content/plugins/pluginProblemContent.css"/>
    1.24 +        <stylesheet src="chrome://mozapps/skin/plugins/pluginProblem.css"/>
    1.25 +    </resources>
    1.26 +
    1.27 +    <content>
    1.28 +        <html:div class="mainBox" anonid="main" chromedir="&locale.dir;">
    1.29 +            <html:div class="hoverBox">
    1.30 +                <html:label>
    1.31 +                    <html:button class="icon" anonid="icon"/>
    1.32 +                    <html:div class="msg msgVulnerabilityStatus" anonid="vulnerabilityStatus"><!-- set at runtime --></html:div>
    1.33 +                    <html:div class="msg msgTapToPlay">&tapToPlayPlugin;</html:div>
    1.34 +                    <html:div class="msg msgClickToPlay" anonid="clickToPlay">&clickToActivatePlugin;</html:div>
    1.35 +                </html:label>
    1.36 +
    1.37 +                <html:div class="msg msgUnsupported">&missingPlugin;</html:div>
    1.38 +                <html:div class="msg msgUnsupportedPlatform">&unsupportedPlatform.pre;<html:a class="unsupportedLearnMoreLink" href="" target="_blank">&unsupportedPlatform.learnMore;</html:a>&unsupportedPlatform.post;</html:div>
    1.39 +                <html:div class="msg msgDisabled">&disabledPlugin;</html:div>
    1.40 +                <html:div class="msg msgBlocked">&blockedPlugin.label;</html:div>
    1.41 +                <html:div class="msg msgCrashed">
    1.42 +                    <html:div class="msgCrashedText" anonid="crashedText"><!-- set at runtime --></html:div>
    1.43 +                    <!-- link href set at runtime -->
    1.44 +                    <html:div class="msgReload">&reloadPlugin.pre;<html:a class="reloadLink" anonid="reloadLink" href="">&reloadPlugin.middle;</html:a>&reloadPlugin.post;</html:div>
    1.45 +                </html:div>
    1.46 +
    1.47 +                <html:div class="installStatus" anonid="installStatus">
    1.48 +                    <html:div class="msg msgInstallPlugin">
    1.49 +		        <html:a class="action-link" anonid="installPluginLink" href="">&installPlugin;</html:a>
    1.50 +		    </html:div>
    1.51 +                </html:div>
    1.52 +                <html:div class="msg msgManagePlugins"><html:a class="action-link" anonid="managePluginsLink" href=""></html:a></html:div>
    1.53 +                <html:div class="submitStatus" anonid="submitStatus">
    1.54 +                    <html:div class="msg msgPleaseSubmit" anonid="pleaseSubmit">
    1.55 +                        <html:textarea class="submitComment"
    1.56 +                                       anonid="submitComment"
    1.57 +                                       placeholder="&report.comment;"/>
    1.58 +                        <html:div class="submitURLOptInBox">
    1.59 +                            <html:label><html:input class="submitURLOptIn" anonid="submitURLOptIn" type="checkbox"/> &report.pageURL;</html:label>
    1.60 +                        </html:div>
    1.61 +                        <html:div class="submitButtonBox">
    1.62 +                            <html:span class="helpIcon" anonid="helpIcon" role="link"/>
    1.63 +                            <html:input class="submitButton" type="button"
    1.64 +                                        anonid="submitButton"
    1.65 +                                        value="&report.please;"/>
    1.66 +                        </html:div>
    1.67 +                    </html:div>
    1.68 +                    <html:div class="msg msgSubmitting">&report.submitting;<html:span class="throbber"> </html:span></html:div>
    1.69 +                    <html:div class="msg msgSubmitted">&report.submitted;</html:div>
    1.70 +                    <html:div class="msg msgNotSubmitted">&report.disabled;</html:div>
    1.71 +                    <html:div class="msg msgSubmitFailed">&report.failed;</html:div>
    1.72 +                    <html:div class="msg msgNoCrashReport">&report.unavailable;</html:div>
    1.73 +                </html:div>
    1.74 +                <html:div class="msg msgCheckForUpdates"><html:a class="action-link" anonid="checkForUpdatesLink" href="">&checkForUpdates;</html:a></html:div>
    1.75 +            </html:div>
    1.76 +            <html:button class="closeIcon" anonid="closeIcon" title="&hidePluginBtn.label;"/>
    1.77 +        </html:div>
    1.78 +        <html:div class="previewPluginContent" anonid="previewPluginContent"><!-- iframe and its src will be set at runtime --></html:div>
    1.79 +        <html:div style="display:none;"><children/></html:div>
    1.80 +    </content>
    1.81 +    <implementation>
    1.82 +      <constructor>
    1.83 +        // Notify browser-plugins.js that we were attached, on a delay because
    1.84 +        // this binding doesn't complete layout until the constructor
    1.85 +        // completes.
    1.86 +        this.dispatchEvent(new CustomEvent("PluginBindingAttached"));
    1.87 +      </constructor>
    1.88 +    </implementation>
    1.89 +</binding>
    1.90 +</bindings>

mercurial