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"/>
31 <html:link rel=
"localization" href=
"preview/select-translations.ftl"/>
34 <commandset id=
"mainCommandset">
35 <command id=
"Browser:Back"
36 oncommand=
"getPanelBrowser().webNavigation.goBack();"
38 <command id=
"Browser:Forward"
39 oncommand=
"getPanelBrowser().webNavigation.goForward();"
41 <command id=
"Browser:Stop" oncommand=
"PanelBrowserStop();"/>
42 <command id=
"Browser:Reload" oncommand=
"PanelBrowserReload();"/>
45 <popupset id=
"mainPopupSet">
46 <tooltip id=
"aHTMLTooltip" page=
"true"/>
48 <panel is=
"autocomplete-richlistbox-popup"
49 type=
"autocomplete-richlistbox"
50 id=
"PopupAutoComplete"
54 norolluponanchor=
"true" />
56 <menupopup id=
"contentAreaContextMenu"
57 onpopupshowing=
"if (event.target != this)
59 gContextMenu = new nsContextMenu(this, event.shiftKey);
60 return gContextMenu.shouldDisplay;"
61 onpopuphiding=
"if (event.target != this)
63 gContextMenu.hiding(this);
64 gContextMenu = null;">
65 #include browser-context.inc