Begin using XULPP: strip our last two overlays.

This commit is contained in:
blakeross%telocity.com 2002-10-10 21:54:02 +00:00
Родитель 7e31bc63e5
Коммит 80093b570e
4 изменённых файлов: 120 добавлений и 82 удалений

Просмотреть файл

@ -1,48 +1,48 @@
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ # -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
/* ***** BEGIN LICENSE BLOCK ***** # ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1 # Version: NPL 1.1/GPL 2.0/LGPL 2.1
* #
* The contents of this file are subject to the Netscape Public License # The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in # 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 # compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/ # http://www.mozilla.org/NPL/
* #
* Software distributed under the License is distributed on an "AS IS" basis, # Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the # for the specific language governing rights and limitations under the
* License. # License.
* #
* The Original Code is mozilla.org code. # The Original Code is mozilla.org code.
* #
* The Initial Developer of the Original Code is # The Initial Developer of the Original Code is
* Netscape Communications Corporation. # Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998 # Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved. # the Initial Developer. All Rights Reserved.
* #
* Contributor(s): # Contributor(s):
* Blake Ross <blaker@netscape.com> # Blake Ross <blaker@netscape.com>
* Peter Annema <disttsc@bart.nl> # Peter Annema <disttsc@bart.nl>
* Dean Tessman <dean_tessman@hotmail.com> # Dean Tessman <dean_tessman@hotmail.com>
* Kevin Puetz (puetzk@iastate.edu) # Kevin Puetz (puetzk@iastate.edu)
* Ben Goodger <ben@netscape.com> # Ben Goodger <ben@netscape.com>
* Pierre Chanial <chanial@noos.fr> # Pierre Chanial <chanial@noos.fr>
* Jason Eager <jce2@po.cwru.edu> # Jason Eager <jce2@po.cwru.edu>
* Joe Hewitt <hewitt@netscape.com> # Joe Hewitt <hewitt@netscape.com>
* Alec Flett <alecf@netscape.com> # Alec Flett <alecf@netscape.com>
* #
* Alternatively, the contents of this file may be used under the terms of # 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 # 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"), # 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 # 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 # 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 # 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 NPL, indicate your # use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice # 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 # 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 provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL. # the terms of any one of the NPL, the GPL or the LGPL.
* #
* ***** END LICENSE BLOCK ***** */ # ***** END LICENSE BLOCK *****
const XREMOTESERVICE_CONTRACTID = "@mozilla.org/browser/xremoteservice;1"; const XREMOTESERVICE_CONTRACTID = "@mozilla.org/browser/xremoteservice;1";
var gURLBar = null; var gURLBar = null;

Просмотреть файл

@ -1,35 +1,31 @@
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- --> <?xml version="1.0"?>
# -*- Mode: HTML -*-
<!-- The contents of this file are subject to the Netscape Public # The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file # License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of # except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/ # the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS # Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing # implied. See the License for the specific language governing
rights and limitations under the License. # rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released # The Original Code is Mozilla Communicator client code, released
March 31, 1998. # March 31, 1998.
The Initial Developer of the Original Code is Netscape # The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are # Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-2000 Netscape Communications Corporation. All # Copyright (C) 1998-2000 Netscape Communications Corporation. All
Rights Reserved. # Rights Reserved.
Contributor(s):
Dean Tessman <dean_tessman@hotmail.com>
-->
# Contributor(s):
# Dean Tessman <dean_tessman@hotmail.com>
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?> <?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?> <?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/bookmarks/bookmarks.css" type="text/css"?> <?xml-stylesheet href="chrome://browser/content/bookmarks/bookmarks.css" type="text/css"?>
<?xul-overlay href="chrome://navigator/content/platformNavigationBindings.xul"?>
<?xul-overlay href="chrome://communicator/content/platformCommunicatorOverlay.xul"?>
<!DOCTYPE window [ <!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" > <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD; %brandDTD;
@ -202,10 +198,8 @@ Contributor(s):
<key id="openFileKb" key="&openFileCmd.commandkey;" command="Browser:OpenFile" modifiers="accel"/> <key id="openFileKb" key="&openFileCmd.commandkey;" command="Browser:OpenFile" modifiers="accel"/>
<key id="key_savePage" key="&savePageCmd.commandkey;" command="Browser:SavePage" modifiers="accel"/> <key id="key_savePage" key="&savePageCmd.commandkey;" command="Browser:SavePage" modifiers="accel"/>
<key id="printKb" key="&printCmd.commandkey;" command="Browser:Print" modifiers="accel"/> <key id="printKb" key="&printCmd.commandkey;" command="Browser:Print" modifiers="accel"/>
<key id="key_close"/> <key id="key_close" key="&closeCmd.key;" command="cmd_close" modifiers="accel"/>
<key id="key_closeWindow"/> <key id="key_closeWindow" key="&closeCmd.key;" command="cmd_closeWindow" modifiers="accel,shift"/>
<key id="key_quit"/>
<key id="key_undo" <key id="key_undo"
key="&undoCmd.key;" key="&undoCmd.key;"
modifiers="accel"/> modifiers="accel"/>
@ -221,9 +215,33 @@ Contributor(s):
<key id="key_paste" <key id="key_paste"
key="&pasteCmd.key;" key="&pasteCmd.key;"
modifiers="accel"/> modifiers="accel"/>
<key id="key_delete"/> <key id="key_delete" keycode="VK_DELETE" command="cmd_delete"/>
<key id="key_selectAll"/>
#ifdef XP_WIN
<key id="key_selectAll" key="&selectAllCmd.key;" modifiers="accel"/>
<key id="goBackKb" keycode="VK_LEFT" command="Browser:Back" modifiers="alt"/>
<key id="goForwardKb" keycode="VK_RIGHT" command="Browser:Forward" modifiers="alt"/>
<!-- Supporting IE 'refresh' shortcut key -->
<key keycode="VK_F5" oncommand="BrowserReload();"/>
<key keycode="VK_F5" modifiers="control" oncommand="BrowserReloadSkipCache();"/>
<key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="alt"/>
<key id="key_fullScreen" keycode="VK_F11" command="View:FullScreen"/>
#elifdef XP_UNIX
<key id="key_selectAll" key="&selectAllCmd.key;" modifiers="alt"/>
<key id="goBackKb" keycode="VK_LEFT" command="Browser:Back" modifiers="alt"/>
<key id="goForwardKb" keycode="VK_RIGHT" command="Browser:Forward" modifiers="alt"/>
<!-- Some people apparently use this combination too on Unix...
we live and learn. -->
<key key="&goBackCmd.commandKey;" command="Browser:Back" modifiers="accel"/>
<key key="&goForwardCmd.commandKey;" command="Browser:Forward" modifiers="accel"/>
<key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="alt"/>
<key id="key_fullScreen" keycode="VK_F11" command="View:FullScreen"/>
#endif
<key id="key_reload" key="&reloadCmd.commandkey;" oncommand="BrowserReload();" modifiers="accel"/> <key id="key_reload" key="&reloadCmd.commandkey;" oncommand="BrowserReload();" modifiers="accel"/>
<key key="&reloadCmd.commandkey;" oncommand="BrowserReloadSkipCache();" modifiers="accel,shift"/> <key key="&reloadCmd.commandkey;" oncommand="BrowserReloadSkipCache();" modifiers="accel,shift"/>
<key id="key_viewSource" key="&pageSourceCmd.commandkey;" command="View:PageSource" modifiers="accel"/> <key id="key_viewSource" key="&pageSourceCmd.commandkey;" command="View:PageSource" modifiers="accel"/>
@ -480,7 +498,7 @@ Contributor(s):
label="&tabCmd.label;" accesskey="&tabCmd.accesskey;"/> label="&tabCmd.label;" accesskey="&tabCmd.accesskey;"/>
<menuitem label="&openLocationCmd.label;" accesskey="&openLocationCmd.accesskey;" key="focusURLBar" command="Browser:OpenLocation"/> <menuitem label="&openLocationCmd.label;" accesskey="&openLocationCmd.accesskey;" key="focusURLBar" command="Browser:OpenLocation"/>
<menuitem label="&openFileCmd.label;" accesskey="&openFileCmd.accesskey;" key="openFileKb" command="Browser:OpenFile"/> <menuitem label="&openFileCmd.label;" accesskey="&openFileCmd.accesskey;" key="openFileKb" command="Browser:OpenFile"/>
<menuitem id="menu_close"/> <menuitem id="menu_close" label="&closeCmd.label;" key="key_close" accesskey="&closeCmd.accesskey;" command="cmd_close"/>
<menuitem id="menu_closeWindow" hidden="true" command="cmd_closeWindow" key="key_closeWindow" label="&closeWindow.label;"/> <menuitem id="menu_closeWindow" hidden="true" command="cmd_closeWindow" key="key_closeWindow" label="&closeWindow.label;"/>
<menuseparator/> <menuseparator/>
<menuitem label="&savePageCmd.label;" accesskey="&savePageCmd.accesskey;" key="key_savePage" command="Browser:SavePage"/> <menuitem label="&savePageCmd.label;" accesskey="&savePageCmd.accesskey;" key="key_savePage" command="Browser:SavePage"/>
@ -489,6 +507,9 @@ Contributor(s):
<menuitem label="&printSetupCmd.label;" accesskey="&printSetupCmd.accesskey;" oncommand="BrowserPrintSetup();"/> <menuitem label="&printSetupCmd.label;" accesskey="&printSetupCmd.accesskey;" oncommand="BrowserPrintSetup();"/>
<menuitem label="&printPreviewCmd.label;" accesskey="&printPreviewCmd.accesskey;" oncommand="BrowserPrintPreview();"/> <menuitem label="&printPreviewCmd.label;" accesskey="&printPreviewCmd.accesskey;" oncommand="BrowserPrintPreview();"/>
<menuitem label="&printCmd.label;" accesskey="&printCmd.accesskey;" key="printKb" command="Browser:Print"/> <menuitem label="&printCmd.label;" accesskey="&printCmd.accesskey;" key="printKb" command="Browser:Print"/>
<menuseparator/>
<menuitem label="&quitApplicationCmd.label;" id="menu_FileQuitItem"
key="key_quit" accesskey="&quitApplicationCmd.accesskey;" command="cmd_quit"/>
</menupopup> </menupopup>
</menu> </menu>
@ -954,3 +975,4 @@ Contributor(s):
</statusbarpanel> </statusbarpanel>
</statusbar> </statusbar>
</window> </window>

Просмотреть файл

@ -1,7 +1,7 @@
browser.jar: browser.jar:
content/browser/contents.rdf (content/contents.rdf) content/browser/contents.rdf (content/contents.rdf)
content/browser/browser.xul (content/browser.xul) * content/browser/browser.xul (content/browser.xul)
content/browser/browser.js (content/browser.js) * content/browser/browser.js (content/browser.js)
content/browser/browser.css (content/browser.css) content/browser/browser.css (content/browser.css)
content/browser/utilityOverlay.js (content/utilityOverlay.js) content/browser/utilityOverlay.js (content/utilityOverlay.js)
content/browser/about.gif (content/about.gif) content/browser/about.gif (content/about.gif)
@ -60,7 +60,7 @@ classic.jar:
en-US.jar: en-US.jar:
locale/en-US/browser/contents.rdf (locale/contents.rdf) locale/en-US/browser/contents.rdf (locale/contents.rdf)
locale/en-US/browser/browser.dtd (locale/browser.dtd) * locale/en-US/browser/browser.dtd (locale/browser.dtd)
locale/en-US/browser/browser.properties (locale/browser.properties) locale/en-US/browser/browser.properties (locale/browser.properties)
locale/en-US/browser/aboutDialog.dtd (locale/aboutDialog.dtd) locale/en-US/browser/aboutDialog.dtd (locale/aboutDialog.dtd)
locale/en-US/browser/viewSource.dtd (locale/viewSource.dtd) locale/en-US/browser/viewSource.dtd (locale/viewSource.dtd)

Просмотреть файл

@ -262,3 +262,19 @@
<!ENTITY openDownloadsSidebar.commandkey "E"> <!ENTITY openDownloadsSidebar.commandkey "E">
<!ENTITY blockImageCmd.label "Block Images from this Server"> <!ENTITY blockImageCmd.label "Block Images from this Server">
#ifdef XP_WIN
<!ENTITY quitApplicationCmd.label "Exit">
<!ENTITY quitApplicationCmd.key "Q">
<!ENTITY quitApplicationCmd.accesskey "x">
#elifdef XP_UNIX
<!ENTITY goBackCmd.commandKey "[">
<!ENTITY goForwardCmd.commandKey "]">
<!ENTITY quitApplicationCmd.label "Quit">
<!ENTITY quitApplicationCmd.key "Q">
<!ENTITY quitApplicationCmd.accesskey "q">
#endif
<!ENTITY closeCmd.label "Close">
<!ENTITY closeCmd.key "W">
<!ENTITY closeCmd.accesskey "c">