Merge mozilla-central to autoland. a=merge CLOSED TREE
[gecko.git] / browser / base / content / webext-panels.xhtml
blob902fa7e7b3edb3c9502a12e475ade016436b2490
1 <?xml version="1.0"?>
3 # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 <window id="webextpanels-window"
9 xmlns:html="http://www.w3.org/1999/xhtml"
10 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
11 <script src="chrome://global/content/contentAreaUtils.js"/>
12 <script src="chrome://browser/content/browser.js"/>
13 <script src="chrome://browser/content/places/browserPlacesViews.js"/>
14 <script src="chrome://browser/content/browser-places.js"/>
15 <script src="chrome://browser/content/webext-panels.js"/>
16 <script src="chrome://global/content/globalOverlay.js"/>
17 <script src="chrome://browser/content/utilityOverlay.js"/>
18 <script src="chrome://global/content/editMenuOverlay.js"/>
20 <linkset>
21 <html:link rel="stylesheet" href="chrome://global/skin/global.css" />
22 <html:link rel="stylesheet" href="chrome://browser/skin/" />
23 <html:link
24 rel="stylesheet"
25 href="chrome://browser/content/usercontext/usercontext.css"
28 <html:link rel="localization" href="toolkit/branding/brandings.ftl"/>
29 <html:link rel="localization" href="toolkit/global/textActions.ftl"/>
30 <html:link rel="localization" href="browser/browserContext.ftl"/>
31 </linkset>
33 <commandset id="mainCommandset">
34 <command id="Browser:Back"
35 oncommand="getPanelBrowser().webNavigation.goBack();"
36 disabled="true"/>
37 <command id="Browser:Forward"
38 oncommand="getPanelBrowser().webNavigation.goForward();"
39 disabled="true"/>
40 <command id="Browser:Stop" oncommand="PanelBrowserStop();"/>
41 <command id="Browser:Reload" oncommand="PanelBrowserReload();"/>
42 </commandset>
44 <popupset id="mainPopupSet">
45 <tooltip id="aHTMLTooltip" page="true"/>
47 <panel is="autocomplete-richlistbox-popup"
48 type="autocomplete-richlistbox"
49 id="PopupAutoComplete"
50 noautofocus="true"
51 hidden="true"
52 overflowpadding="4"
53 norolluponanchor="true" />
55 <menupopup id="contentAreaContextMenu"
56 onpopupshowing="if (event.target != this)
57 return true;
58 gContextMenu = new nsContextMenu(this, event.shiftKey);
59 return gContextMenu.shouldDisplay;"
60 onpopuphiding="if (event.target != this)
61 return;
62 gContextMenu.hiding(this);
63 gContextMenu = null;">
64 #include browser-context.inc
65 </menupopup>
66 </popupset>
67 </window>