Bug 1874684 - Part 4: Prefer const references instead of copying Instant values....
[gecko.git] / browser / base / content / webext-panels.xhtml
blobf421d9bf80b43d1d167044a3f923ad0c16be6f92
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 <html:link rel="localization" href="preview/select-translations.ftl"/>
32 </linkset>
34 <commandset id="mainCommandset">
35 <command id="Browser:Back"
36 oncommand="getPanelBrowser().webNavigation.goBack();"
37 disabled="true"/>
38 <command id="Browser:Forward"
39 oncommand="getPanelBrowser().webNavigation.goForward();"
40 disabled="true"/>
41 <command id="Browser:Stop" oncommand="PanelBrowserStop();"/>
42 <command id="Browser:Reload" oncommand="PanelBrowserReload();"/>
43 </commandset>
45 <popupset id="mainPopupSet">
46 <tooltip id="aHTMLTooltip" page="true"/>
48 <panel is="autocomplete-richlistbox-popup"
49 type="autocomplete-richlistbox"
50 id="PopupAutoComplete"
51 noautofocus="true"
52 hidden="true"
53 overflowpadding="4"
54 norolluponanchor="true" />
56 <menupopup id="contentAreaContextMenu"
57 onpopupshowing="if (event.target != this)
58 return true;
59 gContextMenu = new nsContextMenu(this, event.shiftKey);
60 return gContextMenu.shouldDisplay;"
61 onpopuphiding="if (event.target != this)
62 return;
63 gContextMenu.hiding(this);
64 gContextMenu = null;">
65 #include browser-context.inc
66 </menupopup>
67 </popupset>
68 </window>