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"/>
21 <html:link rel=
"stylesheet" href=
"chrome://global/skin/global.css" />
22 <html:link rel=
"stylesheet" href=
"chrome://browser/skin/" />
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"/>
33 <commandset id=
"mainCommandset">
34 <command id=
"Browser:Back"
35 oncommand=
"getPanelBrowser().webNavigation.goBack();"
37 <command id=
"Browser:Forward"
38 oncommand=
"getPanelBrowser().webNavigation.goForward();"
40 <command id=
"Browser:Stop" oncommand=
"PanelBrowserStop();"/>
41 <command id=
"Browser:Reload" oncommand=
"PanelBrowserReload();"/>
44 <popupset id=
"mainPopupSet">
45 <tooltip id=
"aHTMLTooltip" page=
"true"/>
47 <panel is=
"autocomplete-richlistbox-popup"
48 type=
"autocomplete-richlistbox"
49 id=
"PopupAutoComplete"
53 norolluponanchor=
"true" />
55 <menupopup id=
"contentAreaContextMenu"
56 onpopupshowing=
"if (event.target != this)
58 gContextMenu = new nsContextMenu(this, event.shiftKey);
59 return gContextMenu.shouldDisplay;"
60 onpopuphiding=
"if (event.target != this)
62 gContextMenu.hiding(this);
63 gContextMenu = null;">
64 #include browser-context.inc