toolkit/mozapps/plugins/content/pluginProblem.xml
author Benjamin Smedberg <benjamin@smedbergs.us>
Tue, 24 Jan 2012 15:16:35 -0500
changeset 85039 18d1d5407dbef4dc78ed888d6ad9b9f215e46083
parent 84167 a9337c4d018c8260b913aeb8184f84cd43f08854
child 93762 77319b44907b2f174188fa619d92b48cd61efa74
permissions -rw-r--r--
Back out bug 665196 to resolve bug 716945 - apparently the single submit-and-reload action caused many plugin crash reports to fail to submit. a=akeybl

<?xml version="1.0"?>
<!-- ***** BEGIN LICENSE BLOCK *****
   - Version: MPL 1.1/GPL 2.0/LGPL 2.1
   -
   - The contents of this file are subject to the Mozilla Public License Version
   - 1.1 (the "License"); you may not use this file except in compliance with
   - the License. You may obtain a copy of the License at
   - http://www.mozilla.org/MPL/
   -
   - Software distributed under the License is distributed on an "AS IS" basis,
   - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
   - for the specific language governing rights and limitations under the
   - License.
   -
   - The Original Code is the Mozilla "puzzle piece" xbl binding.
   -
   - The Initial Developer of the Original Code is
   - Christian Biesinger <cbiesinger@web.de>.
   - Portions created by the Initial Developer are Copyright (C) 2005
   - the Initial Developer. All Rights Reserved.
   -
   - Contributor(s):
   -
   -   Justin Dolske <dolske@mozilla.com>
   -
   - Alternatively, the contents of this file may be used under the terms of
   - either the GNU General Public License Version 2 or later (the "GPL"), or
   - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
   - in which case the provisions of the GPL or the LGPL are applicable instead
   - of those above. If you wish to allow use of your version of this file only
   - under the terms of either the GPL or the LGPL, and not to allow others to
   - use your version of this file under the terms of the MPL, indicate your
   - decision by deleting the provisions above and replace them with the notice
   - and other provisions required by the LGPL or the GPL. If you do not delete
   - the provisions above, a recipient may use your version of this file under
   - the terms of any one of the MPL, the GPL or the LGPL.
   -
   - ***** END LICENSE BLOCK ***** -->
<!DOCTYPE bindings [
  <!ENTITY % pluginsDTD SYSTEM "chrome://mozapps/locale/plugins/plugins.dtd">
  <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
  %pluginsDTD;
  %globalDTD;
]>

<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">
    <resources>
        <stylesheet src="chrome://mozapps/skin/plugins/pluginProblem.css"/>
        <stylesheet src="chrome://mozapps/content/plugins/pluginProblemContent.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 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 style="display:none;"><children/></html:div>
    </content>
</binding>
</bindings>