2006-09-14 10:07:18 +04:00
|
|
|
<?xml version="1.0"?> <!-- -*- Mode: HTML; indent-tabs-mode: nil -*- -->
|
2006-09-14 09:59:34 +04:00
|
|
|
|
2006-09-14 10:09:07 +04:00
|
|
|
<!-- ***** BEGIN LICENSE BLOCK *****
|
|
|
|
Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
|
|
|
|
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/
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
The Original Code is Mozilla Communicator client code, released
|
|
|
|
March 31, 1998.
|
|
|
|
|
|
|
|
The Initial Developer of the Original Code is
|
|
|
|
Netscape Communications Corporation.
|
|
|
|
Portions created by the Initial Developer are Copyright (C) 1998-2000
|
|
|
|
the Initial Developer. All Rights Reserved.
|
|
|
|
|
|
|
|
Contributor(s):
|
|
|
|
Dean Tessman <dean_tessman@hotmail.com>
|
|
|
|
|
|
|
|
Alternatively, the contents of this file may be used under the terms of
|
|
|
|
either of 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.
|
|
|
|
|
|
|
|
***** END LICENSE BLOCK ***** -->
|
2006-09-14 09:59:34 +04:00
|
|
|
|
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?>
|
|
|
|
|
|
|
|
<?xul-overlay href="chrome://navigator/content/navigatorOverlay.xul"?>
|
2006-09-14 10:09:23 +04:00
|
|
|
<?xul-overlay href="chrome://navigator/content/mailNavigatorOverlay.xul"?>
|
2006-09-14 10:00:30 +04:00
|
|
|
<?xul-overlay href="chrome://navigator/content/linkToolbarOverlay.xul"?>
|
2006-09-14 10:04:23 +04:00
|
|
|
<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
|
2006-09-14 09:59:34 +04:00
|
|
|
<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://communicator/content/bookmarks/bookmarksOverlay.xul"?>
|
|
|
|
|
|
|
|
|
|
|
|
<!DOCTYPE window [
|
2006-09-14 10:10:53 +04:00
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
|
2006-09-14 09:59:34 +04:00
|
|
|
%brandDTD;
|
|
|
|
<!ENTITY % buildDTD SYSTEM "chrome://global/content/build.dtd" >
|
|
|
|
%buildDTD;
|
|
|
|
<!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" >
|
|
|
|
%navigatorDTD;
|
|
|
|
]>
|
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-09-14 10:00:47 +04:00
|
|
|
<window id="main-window"
|
2006-09-14 09:59:34 +04:00
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
onload="Startup()" onunload="Shutdown()"
|
2006-09-14 10:07:42 +04:00
|
|
|
onclose="return WindowIsClosing();"
|
2006-09-14 09:59:34 +04:00
|
|
|
contenttitlesetting="true"
|
|
|
|
title="&mainWindow.title;"
|
|
|
|
titlemodifier="&mainWindow.titlemodifier;"
|
|
|
|
titlemenuseparator="&mainWindow.titlemodifiermenuseparator;"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-09-14 10:00:47 +04:00
|
|
|
windowtype="navigator:browser"
|
2006-09-14 10:02:18 +04:00
|
|
|
width="610" height="450"
|
2006-09-14 10:02:23 +04:00
|
|
|
screenX="4" screenY="4"
|
|
|
|
persist="screenX screenY width height sizemode">
|
2006-09-14 09:59:34 +04:00
|
|
|
|
|
|
|
<!-- Generic Utility -->
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/nsClipboard.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
2006-09-14 10:03:19 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://global/content/fullScreen.js"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
|
|
|
<!-- Content Area -->
|
|
|
|
<script type="application/x-javascript" src="chrome://navigator/content/nsBrowserStatusHandler.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://navigator/content/nsBrowserContentListener.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/contentAreaClick.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/contentAreaDD.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/findUtils.js"/>
|
2006-09-14 10:06:32 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/printing.js"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
|
|
|
<!-- Shared Bookmarks Utility Library -->
|
2006-09-14 10:07:21 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bookmarks.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bookmarksMenu.js"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
|
|
|
<!-- Navigator -->
|
2006-09-14 10:01:41 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://navigator/content/browser.js"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://navigator/content/navigator.js"/>
|
2006-09-14 10:01:54 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://navigator/content/navigatorDD.js"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://navigator/content/sessionHistoryUI.js"/>
|
|
|
|
|
|
|
|
<!-- hook for stringbundle overlays -->
|
|
|
|
<stringbundleset id="stringbundleset">
|
|
|
|
<stringbundle id="bundle_navigator" src="chrome://navigator/locale/navigator.properties"/>
|
2006-09-14 10:10:44 +04:00
|
|
|
<stringbundle id="bundle_brand" src="chrome://branding/locale/brand.properties"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
<stringbundle id="bundle_navigator_region" src="chrome://navigator-region/locale/region.properties"/>
|
|
|
|
<stringbundle id="bundle_brand_region" src="chrome://global-region/locale/region.properties"/>
|
|
|
|
<stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
|
|
|
|
</stringbundleset>
|
|
|
|
|
|
|
|
<commandset id="commands">
|
2006-09-14 10:07:13 +04:00
|
|
|
<commandset id="findTypeMenuItems"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
<commandset id="globalEditMenuItems"/>
|
|
|
|
<commandset id="selectEditMenuItems"/>
|
|
|
|
<commandset id="undoEditMenuItems"/>
|
|
|
|
<commandset id="clipboardEditMenuItems"/>
|
|
|
|
<!-- <command id="cmd_pageSetup"/> -->
|
|
|
|
<command id="toggleSidebar"/>
|
|
|
|
</commandset>
|
|
|
|
|
|
|
|
<!-- broadcasters are appended from the overlay -->
|
|
|
|
<broadcasterset id="navBroadcasters"/>
|
|
|
|
|
|
|
|
<!-- keys are appended from the overlay -->
|
|
|
|
<keyset id="navKeys">
|
|
|
|
<key id="showHideSidebar"/>
|
|
|
|
</keyset>
|
|
|
|
|
2006-09-14 10:03:12 +04:00
|
|
|
<popup id="backMenu" position="after_start" onpopupshowing="return BrowserBackMenu(event);" oncommand="gotoHistoryIndex(event);"/>
|
|
|
|
<popup id="forwardMenu" position="after_start" onpopupshowing="return BrowserForwardMenu(event);" oncommand="gotoHistoryIndex(event);"/>
|
|
|
|
<tooltip id="aHTMLTooltip" onpopupshowing="return FillInHTMLTooltip(document.tooltipNode);"/>
|
|
|
|
<popup id="sidebarPopup"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
2006-09-14 10:03:12 +04:00
|
|
|
<popupset id="bookmarksPopupset"/>
|
2006-09-14 10:07:21 +04:00
|
|
|
<tooltip id="btTooltip"/>
|
|
|
|
<template id="bookmarksMenuTemplate"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
2006-09-14 10:03:12 +04:00
|
|
|
<!-- context menu -->
|
|
|
|
<popupset id="contentAreaContextSet"/>
|
|
|
|
|
2006-09-14 09:59:34 +04:00
|
|
|
<toolbox id="navigator-toolbox" class="toolbox-top" deferattached="true">
|
|
|
|
<!-- Menu -->
|
2006-09-14 10:06:47 +04:00
|
|
|
<menubar id="main-menubar" persist="collapsed" grippytooltiptext="&menuBar.tooltip;"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
2006-09-14 10:06:47 +04:00
|
|
|
<toolbar class="toolbar-primary chromeclass-toolbar" id="nav-bar" persist="collapsed"
|
2006-09-14 10:01:40 +04:00
|
|
|
grippytooltiptext="&navigationToolbar.tooltip;"
|
2006-09-14 10:03:18 +04:00
|
|
|
tbalign="stretch" fullscreentoolbar="true">
|
2006-09-14 09:59:34 +04:00
|
|
|
<hbox id="nav-bar-buttons">
|
2006-09-14 09:59:37 +04:00
|
|
|
<toolbarbutton id="back-button" type="menu-button" class="toolbarbutton-1"
|
2006-09-14 10:01:17 +04:00
|
|
|
label="&backButton.label;"
|
2006-09-14 09:59:37 +04:00
|
|
|
oncommand="if (event.target==this) BrowserBack(); else gotoHistoryIndex(event);"
|
|
|
|
observes="canGoBack" context="backMenu"
|
2006-09-14 10:00:32 +04:00
|
|
|
tooltiptext="&backButton.tooltip;">
|
2006-09-14 09:59:34 +04:00
|
|
|
<menupopup context="" onpopupshowing="BrowserBackMenu(event);"/>
|
2006-09-14 09:59:37 +04:00
|
|
|
</toolbarbutton>
|
|
|
|
|
|
|
|
<toolbarbutton id="forward-button" type="menu-button" class="toolbarbutton-1"
|
2006-09-14 10:01:17 +04:00
|
|
|
label="&forwardButton.label;"
|
2006-09-14 09:59:37 +04:00
|
|
|
oncommand="if (event.target==this) BrowserForward(); else gotoHistoryIndex(event);"
|
|
|
|
observes="canGoForward" context="forwardMenu"
|
2006-09-14 10:00:32 +04:00
|
|
|
tooltiptext="&forwardButton.tooltip;">
|
2006-09-14 09:59:34 +04:00
|
|
|
<menupopup context="" onpopupshowing="BrowserForwardMenu(event);"/>
|
2006-09-14 09:59:37 +04:00
|
|
|
</toolbarbutton>
|
|
|
|
|
|
|
|
<toolbarbutton id="reload-button" class="toolbarbutton-1"
|
2006-09-14 10:01:17 +04:00
|
|
|
label="&reloadButton.label;"
|
2006-09-14 09:59:37 +04:00
|
|
|
oncommand="if (event.shiftKey) BrowserReloadSkipCache(); else BrowserReload();"
|
2006-09-14 10:00:32 +04:00
|
|
|
tooltiptext="&reloadButton.tooltip;"/>
|
2006-09-14 09:59:37 +04:00
|
|
|
|
|
|
|
<toolbarbutton id="stop-button" class="toolbarbutton-1"
|
2006-09-14 10:01:17 +04:00
|
|
|
label="&stopButton.label;"
|
2006-09-14 09:59:37 +04:00
|
|
|
oncommand="BrowserStop();" observes="canStop"
|
2006-09-14 10:00:32 +04:00
|
|
|
tooltiptext="&stopButton.tooltip;"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</hbox>
|
2006-09-14 10:01:17 +04:00
|
|
|
|
2006-09-14 09:59:34 +04:00
|
|
|
<hbox id="nav-bar-inner" flex="1">
|
2006-09-14 10:07:23 +04:00
|
|
|
<observes element="nav-bar" attribute="buttonstyle"/>
|
2006-09-14 10:10:42 +04:00
|
|
|
<!-- Need hidden label on textbox for accessibility, because what
|
|
|
|
receives focus needs a text name -->
|
|
|
|
<label control="urlbar" hidden="true" value="&locationBar.title;"/>
|
2006-09-14 10:06:34 +04:00
|
|
|
<textbox id="urlbar" class="chromeclass-location uri-element" flex="1"
|
2006-09-18 17:52:11 +04:00
|
|
|
type="autocomplete" autocompletesearch="history file"
|
2006-09-14 10:11:01 +04:00
|
|
|
timeout="50" maxrows="6"
|
2006-09-14 10:06:46 +04:00
|
|
|
disablehistory="false" accesskey="&locationBar.accesskey;"
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-09-14 10:02:17 +04:00
|
|
|
defaultSearchEngine="true" tabScrolling="true"
|
|
|
|
showCommentColumn="true"
|
2006-09-14 10:03:12 +04:00
|
|
|
inputtooltiptext="&locationBar.tooltip;"
|
2006-09-14 10:11:02 +04:00
|
|
|
newlines="stripsurroundingwhitespace"
|
2006-09-14 10:07:39 +04:00
|
|
|
oninput="gBrowser.userTypedValue = this.value;"
|
2006-09-14 10:11:23 +04:00
|
|
|
ontextentered="return handleURLBarCommand(eventParam, domEvent);"
|
|
|
|
ontextreverted="return handleURLBarRevert();"
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-09-14 10:02:17 +04:00
|
|
|
onfocus="URLBarFocusHandler(event);"
|
2006-09-14 10:04:27 +04:00
|
|
|
onmousedown="URLBarMouseDownHandler(event);"
|
2006-09-14 10:04:29 +04:00
|
|
|
onclick="URLBarClickHandler(event);">
|
2006-09-14 10:07:18 +04:00
|
|
|
<deck id="page-proxy-deck" onclick="handlePageProxyClick(event);">
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-09-14 10:02:17 +04:00
|
|
|
<image id="page-proxy-button"
|
2006-09-14 10:03:20 +04:00
|
|
|
ondraggesture="PageProxyDragGesture(event);"
|
|
|
|
tooltiptext="&proxyIcon.tooltip;"/>
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-09-14 10:02:17 +04:00
|
|
|
<image id="page-proxy-favicon" validate="never"
|
|
|
|
ondraggesture="PageProxyDragGesture(event);"
|
|
|
|
onload="this.parentNode.selectedIndex = 1;
|
|
|
|
event.stopPropagation();
|
|
|
|
HandleBookmarkIcon(this.src, true);"
|
2006-09-14 10:03:20 +04:00
|
|
|
onerror="gBrowser.addToMissedIconCache(this.src); HandleBookmarkIcon(this.src, false);"
|
|
|
|
tooltiptext="&proxyIcon.tooltip;"/>
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-09-14 10:02:17 +04:00
|
|
|
</deck>
|
|
|
|
|
|
|
|
<menupopup id="ubhist-popup" class="autocomplete-history-popup"
|
|
|
|
popupalign="topleft" popupanchor="bottomleft"
|
|
|
|
onpopupshowing="createUBHistoryMenu(event.target);"
|
|
|
|
oncommand="executeUrlBarHistoryCommand(event.target);"/>
|
|
|
|
</textbox>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
2006-09-14 09:59:37 +04:00
|
|
|
<button id="go-button" class="button-toolbar chromeclass-location"
|
2006-09-14 10:09:09 +04:00
|
|
|
label="&goButton.label;" hidden="true"
|
2006-09-14 10:10:56 +04:00
|
|
|
oncommand="addToUrlbarHistory(gURLBar.value); BrowserLoadURL(event);"
|
2006-09-14 09:59:37 +04:00
|
|
|
ondragover="nsDragAndDrop.dragOver(event, goButtonObserver);"
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, goButtonObserver);"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, goButtonObserver);"
|
2006-09-14 10:04:03 +04:00
|
|
|
tooltiptext="&goButton.tooltip;" default="true"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
2006-09-14 09:59:37 +04:00
|
|
|
<button id="search-button" class="button-toolbar chromeclass-location"
|
2006-09-14 10:09:09 +04:00
|
|
|
label="&searchButton.label;"
|
2006-09-14 10:09:57 +04:00
|
|
|
oncommand="OpenSearch('internet', QualifySearchTerm());"
|
2006-09-14 09:59:37 +04:00
|
|
|
ondragover="nsDragAndDrop.dragOver(event, searchButtonObserver);"
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, searchButtonObserver);"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, searchButtonObserver);"
|
2006-09-14 10:00:32 +04:00
|
|
|
tooltiptext="&searchButton.tooltip;"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</hbox>
|
|
|
|
|
2006-09-14 09:59:37 +04:00
|
|
|
<toolbarbutton id="print-button" type="menu-button" class="toolbarbutton-1"
|
2006-09-14 10:09:09 +04:00
|
|
|
label="&printButton.label;"
|
2006-09-14 10:06:32 +04:00
|
|
|
oncommand="if (event.target==this) NSPrint();"
|
2006-09-14 10:00:32 +04:00
|
|
|
tooltiptext="&printButton.tooltip;">
|
2006-09-14 09:59:37 +04:00
|
|
|
<menupopup id="printMenu">
|
2006-09-14 10:01:22 +04:00
|
|
|
<menuitem id="printMenuItemToolbar" label="&printCmd.label;" accesskey="&printCmd.accesskey;"
|
2006-09-14 10:06:32 +04:00
|
|
|
default="true" oncommand="NSPrint()"/>
|
2006-09-14 10:07:29 +04:00
|
|
|
<menuitem id="printPreviewMenuItemToolbar" label="&printPreviewCmd.label;" accesskey="&printPreviewCmd.accesskey;"
|
2006-09-14 10:03:36 +04:00
|
|
|
oncommand="setTimeout(BrowserPrintPreview, 0);"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</menupopup>
|
2006-09-14 09:59:37 +04:00
|
|
|
</toolbarbutton>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
|
|
|
<hbox id="throbber-box" align="center">
|
2006-09-14 09:59:37 +04:00
|
|
|
<button id="navigator-throbber" oncommand="goClickThrobber('browser.throbber.url')"
|
2006-09-14 10:00:32 +04:00
|
|
|
tooltiptext="&throbber.tooltip;"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</hbox>
|
2006-09-14 10:03:18 +04:00
|
|
|
|
|
|
|
<hbox id="window-controls" hidden="true" fullscreencontrol="true">
|
|
|
|
<toolbarbutton id="minimize-button" class="toolbarbutton-1"
|
2006-09-14 10:10:05 +04:00
|
|
|
tooltiptext="&minimizeButton.tooltip;"
|
2006-09-14 10:03:18 +04:00
|
|
|
oncommand="window.minimize();"/>
|
|
|
|
|
|
|
|
<toolbarbutton id="restore-button" class="toolbarbutton-1"
|
2006-09-14 10:10:05 +04:00
|
|
|
tooltiptext="&restoreButton.tooltip;"
|
2006-09-14 10:03:18 +04:00
|
|
|
oncommand="BrowserFullScreen();"/>
|
|
|
|
|
|
|
|
<toolbarbutton id="close-button" class="toolbarbutton-1"
|
2006-09-14 10:10:05 +04:00
|
|
|
tooltiptext="&closeWindow.label;"
|
|
|
|
oncommand="BrowserTryToCloseWindow();"/>
|
2006-09-14 10:03:18 +04:00
|
|
|
</hbox>
|
2006-09-14 09:59:34 +04:00
|
|
|
</toolbar>
|
|
|
|
|
2006-09-14 10:06:47 +04:00
|
|
|
<toolbar id="PersonalToolbar" class="chromeclass-directories" persist="collapsed"
|
2006-09-14 10:07:51 +04:00
|
|
|
grippytooltiptext="&personalToolbar.tooltip;" tbalign="stretch" prefixhidden="true"
|
2006-09-14 10:07:21 +04:00
|
|
|
ondraggesture="nsDragAndDrop.startDrag(event, BookmarksMenuDNDObserver)"
|
2006-09-14 10:11:34 +04:00
|
|
|
ondragdrop="nsDragAndDrop.drop(event, BookmarksMenuDNDObserver); event.stopPropagation()"
|
|
|
|
ondragenter="nsDragAndDrop.dragEnter(event, BookmarksMenuDNDObserver); event.stopPropagation()"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, BookmarksMenuDNDObserver); event.stopPropagation()"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, BookmarksMenuDNDObserver); event.stopPropagation()">
|
2006-09-14 09:59:34 +04:00
|
|
|
|
2006-09-14 10:06:35 +04:00
|
|
|
<tooltip id="home-button-tooltip" noautohide="true">
|
|
|
|
<vbox id="home-button-tooltip-inner" flex="1"/>
|
|
|
|
</tooltip>
|
2006-09-14 09:59:37 +04:00
|
|
|
<toolbarbutton id="home-button" class="bookmark-item"
|
2006-09-14 10:09:09 +04:00
|
|
|
label="&homeButton.label;"
|
2006-09-14 10:10:14 +04:00
|
|
|
oncommand="BrowserHome(event);"
|
|
|
|
onclick="if (event.button == 1) BrowserHome(event);"
|
2006-09-14 10:06:35 +04:00
|
|
|
tooltip="home-button-tooltip"
|
2006-09-14 10:04:12 +04:00
|
|
|
ondraggesture="nsDragAndDrop.startDrag(event, homeButtonObserver)"
|
2006-09-14 10:11:34 +04:00
|
|
|
ondragdrop="nsDragAndDrop.drop(event, homeButtonObserver); event.stopPropagation()"
|
|
|
|
ondragenter="event.stopPropagation()"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, homeButtonObserver); event.stopPropagation()"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, homeButtonObserver); event.stopPropagation()"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
2006-09-14 10:09:09 +04:00
|
|
|
<toolbarseparator id="home-bm-separator"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
|
|
|
<!-- "Bookmarks" button on personal toolbar -->
|
2006-09-14 09:59:37 +04:00
|
|
|
<toolbarbutton type="menu" id="bookmarks-button" class="bookmark-item"
|
2006-09-14 10:09:09 +04:00
|
|
|
label="&bookmarksButton.label;"
|
2006-09-14 09:59:37 +04:00
|
|
|
datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch"
|
|
|
|
ref="NC:BookmarksRoot" container="true" flags="dont-test-empty"
|
2006-09-14 10:11:21 +04:00
|
|
|
tooltip="btTooltip"
|
|
|
|
oncommand="BookmarksMenu.loadBookmark(event, this.database);"
|
2006-09-14 10:10:43 +04:00
|
|
|
onclick="BookmarksMenu.loadBookmarkMiddleClick(event, this.database)"
|
2006-09-14 10:04:12 +04:00
|
|
|
template="bookmarksMenuTemplate"
|
2006-09-14 10:11:34 +04:00
|
|
|
ondraggesture="if (event.target.id=='bookmarks-button') event.stopPropagation()">
|
2006-09-14 10:11:37 +04:00
|
|
|
<menupopup context="bookmarks-context-menu"
|
|
|
|
onpopupshowing="updateGroupmarkCommand();">
|
2006-09-14 10:11:21 +04:00
|
|
|
<menuitem command="Browser:AddBookmark"/>
|
|
|
|
<menuitem command="Browser:AddBookmarkAs"/>
|
|
|
|
<menuitem command="Browser:AddGroupmarkAs"/>
|
|
|
|
<menuitem command="Browser:ManageBookmark"/>
|
2006-09-14 10:00:31 +04:00
|
|
|
<menuseparator id="lastStaticSeparator"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</menupopup>
|
2006-09-14 09:59:37 +04:00
|
|
|
</toolbarbutton>
|
2006-09-14 09:59:34 +04:00
|
|
|
|
|
|
|
<!-- Personal toolbar items -->
|
2006-09-14 10:07:21 +04:00
|
|
|
<hbox id="bookmarks-ptf" flex="1" style="min-width: 1px;"
|
|
|
|
context="bookmarks-context-menu" template="bookmarksMenuTemplate"
|
|
|
|
datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch"
|
|
|
|
ref="NC:PersonalToolbarFolder" flags="dont-test-empty"
|
2006-09-14 10:11:21 +04:00
|
|
|
tooltip="btTooltip"
|
2006-09-14 10:09:38 +04:00
|
|
|
oncommand="BookmarksUtils.loadBookmarkBrowser(event, this.database)"
|
2006-09-14 10:10:43 +04:00
|
|
|
onclick="BookmarksMenu.loadBookmarkMiddleClick(event, this.database)"
|
2006-09-14 10:07:21 +04:00
|
|
|
rdf:type="http://home.netscape.com/NC-rdf#Folder">
|
2006-09-14 09:59:34 +04:00
|
|
|
</hbox>
|
2006-09-14 10:07:24 +04:00
|
|
|
<hbox class="bookmarks-toolbar-overflow-items" mousethrough="always">
|
|
|
|
<hbox mousethrough="always" id="overflow-padder" flex="1"/>
|
|
|
|
<toolbarbutton id="bookmarks-chevron" type="menu" class="chevron"
|
|
|
|
mousethrough="never" collapsed="true"
|
|
|
|
datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch"
|
|
|
|
template="bookmarksMenuTemplate"
|
|
|
|
ref="NC:PersonalToolbarFolder" flags="dont-test-empty"
|
2006-09-14 10:11:21 +04:00
|
|
|
tooltip="btTooltip"
|
2006-09-14 10:10:43 +04:00
|
|
|
oncommand="BookmarksUtils.loadBookmarkBrowser(event, this.database)"
|
|
|
|
onclick="BookmarksMenu.loadBookmarkMiddleClick(event, this.database)">
|
2006-09-14 10:09:10 +04:00
|
|
|
<menupopup id="bookmarks-chevron-popup"
|
2006-09-14 10:11:37 +04:00
|
|
|
context="bookmarks-context-menu"
|
2006-09-14 10:09:10 +04:00
|
|
|
onpopupshowing="if (event.target == this) BookmarksToolbar.updateOverflowMenu(this);"/>
|
2006-09-14 10:07:24 +04:00
|
|
|
</toolbarbutton>
|
|
|
|
</hbox>
|
2006-09-14 09:59:34 +04:00
|
|
|
</toolbar>
|
|
|
|
|
|
|
|
</toolbox>
|
|
|
|
|
|
|
|
<hbox flex="1">
|
|
|
|
<vbox id="sidebar-box" class="chromeclass-extrachrome"/>
|
|
|
|
<splitter id="sidebar-splitter" class="chromeclass-extrachrome" />
|
|
|
|
|
2006-09-14 10:03:11 +04:00
|
|
|
<!-- we only need to handle |ondragdrop| because everything else is
|
|
|
|
taken care of by the builtin behavior inside the tabbrowser -->
|
2006-09-14 09:59:34 +04:00
|
|
|
<vbox id="appcontent" flex="1"
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);">
|
|
|
|
|
|
|
|
<!-- this box is temporary, pending XBLified <browser> -->
|
|
|
|
<hbox id="browser" flex="1">
|
2006-09-14 09:59:38 +04:00
|
|
|
<tabbrowser id="content"
|
2006-09-14 10:04:21 +04:00
|
|
|
flex="1" contenttooltip="aHTMLTooltip"
|
|
|
|
contentcontextmenu="contentAreaContextMenu"
|
|
|
|
onnewtab="BrowserOpenTab();"
|
2006-09-14 10:07:15 +04:00
|
|
|
onbookmarkgroup="addGroupmarkAs();"
|
2006-09-14 10:10:58 +04:00
|
|
|
onmousedown="return contentAreaMouseDown(event);"
|
2006-09-14 10:04:21 +04:00
|
|
|
onclick="return contentAreaClick(event);"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
</hbox>
|
|
|
|
|
|
|
|
<statusbar id="status-bar" class="chromeclass-status"
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);">
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-09-14 10:02:17 +04:00
|
|
|
<statusbarpanel id="component-bar"/>
|
|
|
|
<statusbarpanel id="statusbar-display" label="&statusText.label;" flex="1"/>
|
2006-09-14 10:07:52 +04:00
|
|
|
<statusbarpanel class="statusbarpanel-progress" id="progress-panel" hidden="true">
|
2006-09-14 10:02:19 +04:00
|
|
|
<progressmeter class="progressmeter-statusbar" id="statusbar-icon" mode="normal" value="0"/>
|
|
|
|
</statusbarpanel>
|
2006-09-14 10:09:26 +04:00
|
|
|
<statusbarpanel id="popupIcon" class="statusbarpanel-iconic" hidden="true"
|
|
|
|
oncommand="StatusbarViewPopupManager()"
|
|
|
|
tooltiptext="&popupIcon.tooltiptext;"
|
|
|
|
context="popupBlockerMenu"/>
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-09-14 10:02:17 +04:00
|
|
|
<statusbarpanel class="statusbarpanel-iconic" id="offline-status"/>
|
2006-09-14 10:06:33 +04:00
|
|
|
<statusbarpanel class="statusbarpanel-iconic" id="security-button"
|
2006-09-14 10:10:16 +04:00
|
|
|
oncommand="BrowserPageInfo(null, 'securityTab')"/>
|
2006-09-14 09:59:34 +04:00
|
|
|
</statusbar>
|
2006-09-14 10:09:26 +04:00
|
|
|
<popupset>
|
|
|
|
<menupopup id="popupBlockerMenu"
|
|
|
|
oncommand="popupBlockerMenuCommand(event.target);"
|
|
|
|
onpopupshowing="return popupBlockerMenuShowing(event)"/>
|
|
|
|
<!-- Items are generated, see popupBlockerMenuShowing() -->
|
|
|
|
</popupset>
|
2006-09-14 10:07:50 +04:00
|
|
|
<popupset>
|
|
|
|
<popup id="networkProperties"/>
|
|
|
|
</popupset>
|
2006-09-14 09:59:34 +04:00
|
|
|
</window>
|