Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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>