<?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 % pluginsDTD SYSTEM "chrome://mozapps/locale/plugins/plugins.dtd">
  <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
  <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
  %pluginsDTD;
  %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">
    <resources>
        <stylesheet src="chrome://mozapps/content/plugins/pluginProblemContent.css"/>
        <stylesheet src="chrome://mozapps/skin/plugins/pluginProblem.css"/>
    </resources>

    <content>
        <xul:vbox class="mainBox" flex="1" chromedir="&locale.dir;">
            <xul:spacer flex="1"/>
            <xul:box class="icon"/>
            <html:div class="msg msgUnsupported">&missingPlugin;</html:div>
            <html:div class="msg msgUnsupportedPlatform">&unsupportedPlatform.pre;<html:a class="unsupportedLearnMoreLink" href="" target="_blank">&unsupportedPlatform.learnMore;</html:a>&unsupportedPlatform.post;</html:div>
            <html:div class="msg msgTapToPlay">&tapToPlayPlugin;</html:div>
            <html:div class="msg msgVulnerabilityStatus" anonid="vulnerabilityStatus"><!-- set at runtime --></html:div>
            <html:div class="msg msgCheckForUpdates"><html:a class="checkForUpdatesLink" href="">&checkForUpdates;</html:a></html:div>
            <html:div class="msg msgClickToPlay">&clickToPlayPlugin;</html:div>
            <html:div class="msg msgDisabled">&disabledPlugin;</html:div>
            <html:div class="msg msgBlocked">&blockedPlugin.label;</html:div>
            <html:div class="msg msgCrashed"><!-- set at runtime --></html:div>

            <html:div class="installStatus">
                <html:div class="msg msgInstallPlugin"><html:a class="installPluginLink" href="">&installPlugin;</html:a></html:div>
            </html:div>
            <html:div class="msg msgManagePlugins"><html:a class="managePluginsLink" href="">&managePlugins;</html:a></html:div>
            <html:div class="submitStatus">
                <!-- links set at runtime -->
                <html:div class="msg msgPleaseSubmit"><html:a class="pleaseSubmitLink" href="">&report.please;</html:a></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>
                <!-- link href set at runtime -->
                <html:div class="msg msgReload">&reloadPlugin.pre;<html:a class="reloadLink" href="">&reloadPlugin.middle;</html:a>&reloadPlugin.post;</html:div>
            </html:div>
            <xul:spacer flex="1"/>
            <html:div class="msg msgBottomLinks">
                <html:span class="helpIcon" role="link"/>
            </html:div>
        </xul:vbox>
        <html:div class="previewPluginContent"><!-- iframe and its src will be set at runtime --></html:div>
        <html:div style="display:none;"><children/></html:div>
    </content>
    <implementation>
      <constructor>
        // Notify browser-plugins.js that we were attached
        this.dispatchEvent(new CustomEvent("PluginBindingAttached"));
      </constructor>
    </implementation>
</binding>
</bindings>
