зеркало из https://github.com/mozilla/gecko-dev.git
88 строки
4.8 KiB
XML
88 строки
4.8 KiB
XML
<?xml version="1.0"?>
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
<!DOCTYPE bindings [
|
|
<!ENTITY % pluginproblemDTD SYSTEM "chrome://pluginproblem/locale/pluginproblem.dtd">
|
|
<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
|
|
%pluginproblemDTD;
|
|
%globalDTD;
|
|
%brandDTD;
|
|
]>
|
|
|
|
<bindings id="pluginBindings"
|
|
xmlns="http://www.mozilla.org/xbl"
|
|
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
xmlns:html="http://www.w3.org/1999/xhtml">
|
|
<binding id="pluginProblem" inheritstyle="false" chromeOnlyContent="true" bindToUntrustedContent="true">
|
|
<resources>
|
|
<stylesheet src="chrome://pluginproblem/content/pluginProblemContent.css"/>
|
|
<stylesheet src="chrome://mozapps/skin/plugins/pluginProblem.css"/>
|
|
</resources>
|
|
|
|
<content>
|
|
<html:div class="mainBox" anonid="main" chromedir="&locale.dir;">
|
|
<html:div class="hoverBox">
|
|
<html:label>
|
|
<html:button class="icon" anonid="icon"/>
|
|
<html:div class="msg msgVulnerabilityStatus" anonid="vulnerabilityStatus"><!-- set at runtime --></html:div>
|
|
<html:div class="msg msgTapToPlay">&tapToPlayPlugin;</html:div>
|
|
<html:div class="msg msgClickToPlay" anonid="clickToPlay">&clickToActivatePlugin;</html:div>
|
|
</html:label>
|
|
|
|
<html:div class="msg msgBlocked">&blockedPlugin.label;</html:div>
|
|
<html:div class="msg msgCrashed">
|
|
<html:div class="msgCrashedText" anonid="crashedText"><!-- set at runtime --></html:div>
|
|
<!-- link href set at runtime -->
|
|
<html:div class="msgReload">&reloadPlugin.pre;<html:a class="reloadLink" anonid="reloadLink" href="">&reloadPlugin.middle;</html:a>&reloadPlugin.post;</html:div>
|
|
</html:div>
|
|
|
|
<html:div class="msg msgManagePlugins"><html:a class="action-link" anonid="managePluginsLink" href="">&managePlugins;</html:a></html:div>
|
|
<html:div class="submitStatus" anonid="submitStatus">
|
|
<html:div class="msg msgPleaseSubmit" anonid="pleaseSubmit">
|
|
<html:textarea class="submitComment"
|
|
anonid="submitComment"
|
|
placeholder="&report.comment;"/>
|
|
<html:div class="submitURLOptInBox">
|
|
<html:label><html:input class="submitURLOptIn" anonid="submitURLOptIn" type="checkbox"/> &report.pageURL;</html:label>
|
|
</html:div>
|
|
<html:div class="submitButtonBox">
|
|
<html:span class="helpIcon" anonid="helpIcon" role="link"/>
|
|
<html:input class="submitButton" type="button"
|
|
anonid="submitButton"
|
|
value="&report.please;"/>
|
|
</html:div>
|
|
</html:div>
|
|
<html:div class="msg msgSubmitting">&report.submitting;<html:span class="throbber"> </html:span></html:div>
|
|
<html:div class="msg msgSubmitted">&report.submitted;</html:div>
|
|
<html:div class="msg msgNotSubmitted">&report.disabled;</html:div>
|
|
<html:div class="msg msgSubmitFailed">&report.failed;</html:div>
|
|
<html:div class="msg msgNoCrashReport">&report.unavailable;</html:div>
|
|
</html:div>
|
|
<html:div class="msg msgCheckForUpdates"><html:a class="action-link" anonid="checkForUpdatesLink" href="">&checkForUpdates;</html:a></html:div>
|
|
</html:div>
|
|
<html:button class="closeIcon" anonid="closeIcon" title="&hidePluginBtn.label;"/>
|
|
</html:div>
|
|
<html:div style="display:none;"><children/></html:div>
|
|
</content>
|
|
<implementation>
|
|
<constructor>
|
|
// Notify browser-plugins.js that we were attached, on a delay because
|
|
// this binding doesn't complete layout until the constructor
|
|
// completes.
|
|
this.dispatchEvent(new CustomEvent("PluginBindingAttached"));
|
|
</constructor>
|
|
</implementation>
|
|
</binding>
|
|
|
|
<binding id="replacement" extends="chrome://pluginproblem/content/pluginProblem.xml#pluginProblem" inheritstyle="false" chromeOnlyContent="true" bindToUntrustedContent="true">
|
|
<implementation>
|
|
<constructor>
|
|
this.dispatchEvent(new CustomEvent("PluginPlaceholderReplaced"));
|
|
</constructor>
|
|
</implementation>
|
|
</binding>
|
|
|
|
</bindings>
|