2003-08-02 05:52:18 +04:00
|
|
|
<?xml version="1.0"?>
|
2003-12-03 08:37:53 +03:00
|
|
|
|
|
|
|
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
2005-02-01 20:36:54 +03:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
2003-12-03 08:37:53 +03:00
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
2005-02-01 20:36:54 +03:00
|
|
|
#
|
2003-12-03 08:37:53 +03:00
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
2005-02-01 20:36:54 +03:00
|
|
|
#
|
2003-12-03 08:37:53 +03:00
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
2005-02-01 20:36:54 +03:00
|
|
|
#
|
2003-12-03 08:37:53 +03:00
|
|
|
# The Original Code is Mozilla.org Code.
|
2005-02-01 20:36:54 +03:00
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# David Hyatt.
|
2003-12-03 08:37:53 +03:00
|
|
|
# Portions created by the Initial Developer are Copyright (C) 2001
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
2005-02-01 20:36:54 +03:00
|
|
|
#
|
2003-12-03 08:37:53 +03:00
|
|
|
# Contributor(s):
|
|
|
|
# David Hyatt <hyatt@mozilla.org>
|
2005-02-01 20:36:54 +03:00
|
|
|
#
|
2003-12-03 08:37:53 +03:00
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
2005-02-01 20:36:54 +03:00
|
|
|
#
|
2003-12-03 08:37:53 +03:00
|
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
|
2003-08-02 10:15:59 +04:00
|
|
|
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
|
2006-11-03 01:26:22 +03:00
|
|
|
<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
|
2007-01-31 21:10:02 +03:00
|
|
|
<?xul-overlay href="chrome://browser/content/places/placesOverlay.xul"?>
|
2003-08-02 05:52:18 +04:00
|
|
|
|
2006-11-23 23:13:58 +03:00
|
|
|
<!DOCTYPE page [
|
|
|
|
<!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd">
|
|
|
|
%browserDTD;
|
|
|
|
<!ENTITY % textcontextDTD SYSTEM "chrome://global/locale/textcontext.dtd">
|
|
|
|
%textcontextDTD;
|
2007-12-23 23:41:53 +03:00
|
|
|
<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
|
|
|
|
%globalDTD;
|
2006-11-23 23:13:58 +03:00
|
|
|
]>
|
2003-12-03 08:37:53 +03:00
|
|
|
|
2003-08-02 05:52:18 +04:00
|
|
|
<page id="webpanels-window"
|
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
2003-08-03 05:58:52 +04:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2007-01-31 21:10:02 +03:00
|
|
|
onload="load()" onunload="unload()">
|
2005-03-24 11:49:46 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://global/content/contentAreaUtils.js"/>
|
2003-12-03 08:37:53 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/browser.js"/>
|
2006-08-03 02:35:37 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://global/content/inlineSpellCheckUI.js"/>
|
2006-11-03 01:26:22 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/nsContextMenu.js"/>
|
2003-08-02 05:52:18 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/web-panels.js"/>
|
2003-12-03 08:37:53 +03:00
|
|
|
|
|
|
|
<stringbundleset id="stringbundleset">
|
|
|
|
<stringbundle id="bundle_browser" src="chrome://browser/locale/browser.properties"/>
|
|
|
|
</stringbundleset>
|
2007-01-31 21:10:02 +03:00
|
|
|
|
2007-11-13 13:33:05 +03:00
|
|
|
<broadcasterset id="mainBroadcasterSet">
|
|
|
|
<broadcaster id="isFrameImage"/>
|
|
|
|
</broadcasterset>
|
|
|
|
|
2007-01-31 21:10:02 +03: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>
|
|
|
|
|
2003-12-03 08:37:53 +03:00
|
|
|
<popupset id="mainPopupSet">
|
2006-11-03 01:26:22 +03:00
|
|
|
<popup id="contentAreaContextMenu"
|
2007-01-31 21:10:02 +03:00
|
|
|
onpopupshowing="if (event.target != this)
|
|
|
|
return true;
|
|
|
|
gContextMenu = new nsContextMenu(this, getPanelBrowser());
|
|
|
|
return gContextMenu.shouldDisplay;"
|
|
|
|
onpopuphiding="if (event.target == this)
|
|
|
|
gContextMenu = null;">
|
2003-12-03 08:37:53 +03:00
|
|
|
#include browser-context.inc
|
2006-11-03 01:26:22 +03:00
|
|
|
</popup>
|
2003-12-03 08:37:53 +03:00
|
|
|
</popupset>
|
2006-11-03 01:26:22 +03:00
|
|
|
|
|
|
|
<commandset id="editMenuCommands"/>
|
2003-08-04 08:29:35 +04:00
|
|
|
<browser id="web-panels-browser" persist="cachedurl" type="content" flex="1"
|
2003-12-03 08:37:53 +03:00
|
|
|
context="contentAreaContextMenu"
|
2003-08-04 07:40:27 +04:00
|
|
|
onclick="return window.parent.contentAreaClick(event, true);"/>
|
2003-08-02 05:52:18 +04:00
|
|
|
</page>
|