2007-03-22 10:30:00 -07:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
2012-05-21 04:12:37 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
|
|
|
|
<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://browser/content/places/placesOverlay.xul"?>
|
|
|
|
|
|
|
|
<!DOCTYPE page [
|
|
|
|
<!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd">
|
|
|
|
%browserDTD;
|
|
|
|
<!ENTITY % textcontextDTD SYSTEM "chrome://global/locale/textcontext.dtd">
|
|
|
|
%textcontextDTD;
|
|
|
|
]>
|
|
|
|
|
|
|
|
<page id="webpanels-window"
|
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
onload="load()" onunload="unload()">
|
2009-11-05 05:53:26 -08:00
|
|
|
<script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/>
|
|
|
|
<script type="application/javascript" src="chrome://browser/content/browser.js"/>
|
|
|
|
<script type="application/javascript" src="chrome://global/content/inlineSpellCheckUI.js"/>
|
|
|
|
<script type="application/javascript" src="chrome://browser/content/nsContextMenu.js"/>
|
|
|
|
<script type="application/javascript" src="chrome://browser/content/web-panels.js"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<stringbundleset id="stringbundleset">
|
|
|
|
<stringbundle id="bundle_browser" src="chrome://browser/locale/browser.properties"/>
|
|
|
|
</stringbundleset>
|
|
|
|
|
2007-11-13 02:33:05 -08:00
|
|
|
<broadcasterset id="mainBroadcasterSet">
|
|
|
|
<broadcaster id="isFrameImage"/>
|
|
|
|
</broadcasterset>
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
<commandset id="mainCommandset">
|
|
|
|
<command id="Browser:Back"
|
|
|
|
oncommand="getPanelBrowser().webNavigation.goBack();"
|
|
|
|
disabled="true"/>
|
|
|
|
<command id="Browser:Forward"
|
|
|
|
oncommand="getPanelBrowser().webNavigation.goForward();"
|
|
|
|
disabled="true"/>
|
|
|
|
<command id="Browser:Stop" oncommand="PanelBrowserStop();"/>
|
|
|
|
<command id="Browser:Reload" oncommand="PanelBrowserReload();"/>
|
|
|
|
</commandset>
|
|
|
|
|
|
|
|
<popupset id="mainPopupSet">
|
2013-03-21 05:58:07 -07:00
|
|
|
<tooltip id="aHTMLTooltip" page="true"/>
|
2011-08-08 10:31:32 -07:00
|
|
|
<menupopup id="contentAreaContextMenu" pagemenu="start"
|
2010-06-21 23:34:21 -07:00
|
|
|
onpopupshowing="if (event.target != this)
|
|
|
|
return true;
|
2013-01-27 10:31:14 -08:00
|
|
|
gContextMenu = new nsContextMenu(this, event.shiftKey);
|
2011-02-08 07:02:20 -08:00
|
|
|
if (gContextMenu.shouldDisplay)
|
|
|
|
document.popupNode = this.triggerNode;
|
2010-06-21 23:34:21 -07:00
|
|
|
return gContextMenu.shouldDisplay;"
|
2011-12-07 06:45:44 -08:00
|
|
|
onpopuphiding="if (event.target != this)
|
|
|
|
return;
|
|
|
|
gContextMenu.hiding();
|
|
|
|
gContextMenu = null;">
|
2007-03-22 10:30:00 -07:00
|
|
|
#include browser-context.inc
|
2010-06-21 23:34:21 -07:00
|
|
|
</menupopup>
|
2007-03-22 10:30:00 -07:00
|
|
|
</popupset>
|
|
|
|
|
|
|
|
<commandset id="editMenuCommands"/>
|
|
|
|
<browser id="web-panels-browser" persist="cachedurl" type="content" flex="1"
|
2009-07-13 10:37:33 -07:00
|
|
|
context="contentAreaContextMenu" tooltip="aHTMLTooltip"
|
2012-02-10 05:11:53 -08:00
|
|
|
onclick="window.parent.contentAreaClick(event, true);"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
</page>
|