browser/metro/base/content/bindings/tabprompts.xml

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     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/. -->
     6 <bindings
     7    xmlns="http://www.mozilla.org/xbl"
     8    xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     9    xmlns:xbl="http://www.mozilla.org/xbl">
    11   <binding id="tabmodalprompt"
    12            extends="chrome://global/content/tabprompts.xml#tabmodalprompt">
    14     <implementation>
    15       <method name="metroInit">
    16         <parameter name="args"/>
    17         <parameter name="linkedTab"/>
    18         <parameter name="onCloseCallback"/>
    19         <body>
    20           <![CDATA[
    21             this.init(args, linkedTab, onCloseCallback);
    23             this.ui.infoTitle.removeAttribute("hidden");
    25             let infoContainer = document.getAnonymousElementByAttribute(this, "anonid", "infoContainer");
    26             infoContainer.setAttribute("align", "start");
    27             infoContainer.classList.add("infoContainer");
    28           ]]>
    29         </body>
    30       </method>
    33       <method name="onResize">
    34         <body>
    35           <![CDATA[
    36             // Overwrite base onResize method. It's no-op for metro.
    37           ]]>
    38         </body>
    39       </method>
    41     </implementation>
    43   </binding>
    45 </bindings>

mercurial