Bumping manifests a=b2g-bump
[gecko.git] / browser / base / content / web-panels.xul
blob4a520befe9b2c4ac2473f4da069feee9d3e4c103
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 <?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
9 <?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
10 <?xul-overlay href="chrome://browser/content/places/placesOverlay.xul"?>
12 <!DOCTYPE page [
13 <!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd">
14 %browserDTD;
15 <!ENTITY % textcontextDTD SYSTEM "chrome://global/locale/textcontext.dtd">
16 %textcontextDTD;
19 <page id="webpanels-window"
20 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
21 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
22 onload="load()" onunload="unload()">
23 <script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/>
24 <script type="application/javascript" src="chrome://browser/content/browser.js"/>
25 <script type="application/javascript" src="chrome://global/content/inlineSpellCheckUI.js"/>
26 <script type="application/javascript" src="chrome://browser/content/nsContextMenu.js"/>
27 <script type="application/javascript" src="chrome://browser/content/web-panels.js"/>
29 <stringbundleset id="stringbundleset">
30 <stringbundle id="bundle_browser" src="chrome://browser/locale/browser.properties"/>
31 </stringbundleset>
33 <broadcasterset id="mainBroadcasterSet">
34 <broadcaster id="isFrameImage"/>
35 </broadcasterset>
37 <commandset id="mainCommandset">
38 <command id="Browser:Back"
39 oncommand="getPanelBrowser().webNavigation.goBack();"
40 disabled="true"/>
41 <command id="Browser:Forward"
42 oncommand="getPanelBrowser().webNavigation.goForward();"
43 disabled="true"/>
44 <command id="Browser:Stop" oncommand="PanelBrowserStop();"/>
45 <command id="Browser:Reload" oncommand="PanelBrowserReload();"/>
46 </commandset>
48 <popupset id="mainPopupSet">
49 <tooltip id="aHTMLTooltip" page="true"/>
50 <menupopup id="contentAreaContextMenu" pagemenu="start"
51 onpopupshowing="if (event.target != this)
52 return true;
53 gContextMenu = new nsContextMenu(this, event.shiftKey);
54 if (gContextMenu.shouldDisplay)
55 document.popupNode = this.triggerNode;
56 return gContextMenu.shouldDisplay;"
57 onpopuphiding="if (event.target != this)
58 return;
59 gContextMenu.hiding();
60 gContextMenu = null;">
61 #include browser-context.inc
62 </menupopup>
63 </popupset>
65 <commandset id="editMenuCommands"/>
66 <browser id="web-panels-browser" persist="cachedurl" type="content" flex="1"
67 context="contentAreaContextMenu" tooltip="aHTMLTooltip"
68 onclick="window.parent.contentAreaClick(event, true);"/>
69 </page>