2016-06-25 17:49:45 +03:00
|
|
|
<?xml version="1.0"?> <!-- -*- Mode: HTML; indent-tabs-mode: nil -*- -->
|
2008-07-22 16:21:15 +04:00
|
|
|
|
2012-05-30 20:48:24 +04: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/. -->
|
2008-07-22 16:21:15 +04:00
|
|
|
|
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?>
|
2010-08-09 00:06:47 +04:00
|
|
|
<?xml-stylesheet href="chrome://communicator/content/places/places.css" type="text/css"?>
|
2008-07-22 16:21:15 +04:00
|
|
|
|
|
|
|
<?xul-overlay href="chrome://navigator/content/navigatorOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://navigator/content/linkToolbarOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xul"?>
|
2013-01-31 19:38:27 +04:00
|
|
|
<?xul-overlay href="chrome://navigator/content/safeBrowsingOverlay.xul"?>
|
2013-07-16 21:28:13 +04:00
|
|
|
<?xul-overlay href="chrome://navigator/content/webDeveloperOverlay.xul"?>
|
2008-07-22 16:21:15 +04:00
|
|
|
|
|
|
|
<!DOCTYPE window [
|
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
|
|
|
|
%brandDTD;
|
|
|
|
<!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" >
|
|
|
|
%navigatorDTD;
|
|
|
|
]>
|
|
|
|
|
|
|
|
<window id="main-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="Startup()" onunload="Shutdown()"
|
|
|
|
onclose="return WindowIsClosing();"
|
2009-08-26 00:29:57 +04:00
|
|
|
contenttitlesetting="true"
|
2016-06-25 17:49:45 +03:00
|
|
|
title="&mainWindow.title;"
|
|
|
|
titlemodifier="&mainWindow.titlemodifier;"
|
2008-07-22 16:21:15 +04:00
|
|
|
titlemenuseparator="&mainWindow.titlemodifiermenuseparator;"
|
2013-02-12 23:19:58 +04:00
|
|
|
titleprivate="&mainWindow.titleprivate;"
|
2010-08-03 21:13:48 +04:00
|
|
|
toggletoolbar="true"
|
2010-07-20 17:53:55 +04:00
|
|
|
lightweightthemes="true"
|
|
|
|
lightweightthemesfooter="status-bar"
|
2008-07-22 16:21:15 +04:00
|
|
|
windowtype="navigator:browser"
|
2012-06-10 17:27:12 +04:00
|
|
|
macanimationtype="document"
|
2016-08-11 22:04:45 +03:00
|
|
|
retargetdocumentfocus="urlbar"
|
2014-05-20 20:34:39 +04:00
|
|
|
drawtitle="true"
|
2016-06-25 17:49:45 +03:00
|
|
|
persist="screenX screenY width height sizemode">
|
2008-07-22 16:21:15 +04:00
|
|
|
|
|
|
|
<!-- Generic Utility -->
|
2010-06-04 14:22:00 +04:00
|
|
|
<script type="application/javascript" src="chrome://global/content/viewSourceUtils.js"/>
|
2010-07-15 08:02:52 +04:00
|
|
|
|
2008-07-22 16:21:15 +04:00
|
|
|
<!-- Content Area -->
|
2009-10-09 01:29:19 +04:00
|
|
|
<script type="application/javascript" src="chrome://navigator/content/nsBrowserStatusHandler.js"/>
|
|
|
|
<script type="application/javascript" src="chrome://navigator/content/nsBrowserContentListener.js"/>
|
|
|
|
<script type="application/javascript" src="chrome://communicator/content/contentAreaClick.js"/>
|
|
|
|
<script type="application/javascript" src="chrome://communicator/content/findUtils.js"/>
|
|
|
|
<script type="application/javascript" src="chrome://global/content/printUtils.js"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
|
|
|
|
<!-- Navigator -->
|
2009-10-09 01:29:19 +04:00
|
|
|
<script type="application/javascript" src="chrome://navigator/content/fullScreen.js"/>
|
|
|
|
<script type="application/javascript" src="chrome://navigator/content/navigatorDD.js"/>
|
|
|
|
<script type="application/javascript" src="chrome://navigator/content/sessionHistoryUI.js"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
|
2010-08-09 00:06:47 +04:00
|
|
|
<!-- Places Bookmarks Utilities -->
|
2010-08-09 00:06:47 +04:00
|
|
|
<script type="application/javascript" src="chrome://communicator/content/bookmarks/editBookmarkOverlay.js"/>
|
2010-08-09 00:06:47 +04:00
|
|
|
|
2008-07-22 16:21:15 +04:00
|
|
|
<!-- hook for stringbundle overlays -->
|
|
|
|
<stringbundleset id="stringbundleset">
|
|
|
|
<stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
|
|
|
|
</stringbundleset>
|
|
|
|
|
2010-08-09 00:06:47 +04:00
|
|
|
<commandset id="commands">
|
2008-07-22 16:21:15 +04:00
|
|
|
<commandset id="findTypeMenuItems"/>
|
|
|
|
<command id="toggleSidebar"/>
|
|
|
|
</commandset>
|
2008-11-14 22:22:54 +03:00
|
|
|
|
2009-01-26 13:50:55 +03:00
|
|
|
<commandset id="mainCommandSet"/> <!-- Firefox extension compatibility -->
|
|
|
|
|
2008-07-22 16:21:15 +04:00
|
|
|
<!-- broadcasters are appended from the overlay -->
|
|
|
|
<broadcasterset id="navBroadcasters"/>
|
2008-11-14 22:22:54 +03:00
|
|
|
<broadcasterset id="mainBroadcasterSet"/> <!-- Firefox extension compatibility -->
|
|
|
|
|
2008-07-22 16:21:15 +04:00
|
|
|
<!-- keys are appended from the overlay -->
|
|
|
|
<keyset id="navKeys">
|
|
|
|
<key id="showHideSidebar"/>
|
|
|
|
</keyset>
|
2008-11-14 22:22:54 +03:00
|
|
|
<keyset id="mainKeyset"/> <!-- Firefox extension compatibility -->
|
|
|
|
|
2010-07-15 08:02:52 +04:00
|
|
|
<popupset id="mainPopupSet">
|
|
|
|
<menupopup id="backMenu"
|
|
|
|
position="after_start"
|
|
|
|
onpopupshowing="return BrowserBackMenu(event);"
|
2010-08-30 13:46:39 +04:00
|
|
|
oncommand="gotoHistoryIndex(event);"
|
|
|
|
onclick="checkForMiddleClick(this, event);"/>
|
2010-07-15 08:02:52 +04:00
|
|
|
<menupopup id="forwardMenu"
|
|
|
|
position="after_start"
|
|
|
|
onpopupshowing="return BrowserForwardMenu(event);"
|
2010-08-30 13:46:39 +04:00
|
|
|
oncommand="gotoHistoryIndex(event);"
|
|
|
|
onclick="checkForMiddleClick(this, event);"/>
|
2010-07-15 08:02:52 +04:00
|
|
|
<tooltip id="aHTMLTooltip"
|
|
|
|
onpopupshowing="return FillInHTMLTooltip(document.tooltipNode);"/>
|
|
|
|
<menupopup id="sidebarPopup"/>
|
|
|
|
|
|
|
|
<tooltip id="home-button-tooltip" noautohide="true">
|
|
|
|
<vbox id="home-button-tooltip-inner" flex="1"/>
|
|
|
|
</tooltip>
|
|
|
|
|
|
|
|
<menupopup id="toolbar-context-menu"/>
|
|
|
|
|
|
|
|
<menupopup id="feedsPopup" popupanchor="bottomright" popupalign="topright"
|
|
|
|
onpopupshowing="window.XULBrowserWindow.populateFeeds(this);"
|
|
|
|
oncommand="subscribeToFeed(event.target.statusText, event);"
|
|
|
|
onclick="checkForMiddleClick(this, event);"/>
|
2011-03-11 00:42:00 +03:00
|
|
|
|
|
|
|
<!-- for search and content formfill/pw manager -->
|
2010-07-15 08:02:52 +04:00
|
|
|
<panel id="PopupAutoComplete" type="autocomplete" noautofocus="true"/>
|
2009-01-26 13:50:55 +03:00
|
|
|
|
2010-10-06 00:32:11 +04:00
|
|
|
<!-- for invalid form error message -->
|
|
|
|
<panel id="invalid-form-popup" noautofocus="true" hidden="true" level="parent">
|
|
|
|
<description/>
|
|
|
|
</panel>
|
|
|
|
|
2010-08-09 00:06:47 +04:00
|
|
|
<panel id="editBookmarkPanel"/>
|
|
|
|
|
2010-08-09 00:06:47 +04:00
|
|
|
<menupopup id="placesContext"/>
|
|
|
|
|
|
|
|
<!-- Bookmarks and history tooltip -->
|
|
|
|
<tooltip id="bhTooltip"/>
|
|
|
|
|
2011-06-11 07:19:59 +04:00
|
|
|
<panel id="notification-popup"
|
|
|
|
type="arrow"
|
2014-12-23 21:08:50 +03:00
|
|
|
animate="false"
|
2011-06-11 07:19:59 +04:00
|
|
|
position="after_start"
|
|
|
|
hidden="true"
|
|
|
|
role="alert"/>
|
2010-10-05 15:09:20 +04:00
|
|
|
|
2010-07-15 08:02:52 +04:00
|
|
|
<menupopup id="popupBlockerMenu"
|
|
|
|
oncommand="popupBlockerMenuCommand(event.target);"
|
2012-04-02 11:43:02 +04:00
|
|
|
onpopupshowing="return popupBlockerMenuShowing(event);"
|
|
|
|
onpopuphiding="RemovePopupsItems(this);"/>
|
2010-07-15 08:02:52 +04:00
|
|
|
<!-- Items are generated, see popupBlockerMenuShowing() -->
|
|
|
|
<menupopup id="popupNotificationMenu"/>
|
|
|
|
<menupopup id="networkProperties"/>
|
2014-04-03 08:18:16 +04:00
|
|
|
|
|
|
|
<menupopup id="security-context-menu"
|
|
|
|
onpopupshowing="onViewSecurityContextMenu();">
|
|
|
|
<menuitem id="viewSecurityInfo"
|
|
|
|
default="true"
|
|
|
|
label="&viewSecurityInfo.label;"
|
|
|
|
accesskey="&viewSecurityInfo.accesskey;"
|
|
|
|
oncommand="BrowserPageInfo(null, 'securityTab');"/>
|
|
|
|
<menuitem id="viewCertificate"
|
|
|
|
label="&viewCertificate.label;"
|
|
|
|
accesskey="&viewCertificate.accesskey;"
|
|
|
|
oncommand="viewCertificate();"/>
|
|
|
|
<menuseparator/>
|
|
|
|
<menuitem id="viewCertManager"
|
|
|
|
label="&viewCertManager.label;"
|
|
|
|
accesskey="&viewCertManager.accesskey;"
|
|
|
|
oncommand="openCertManager();"/>
|
|
|
|
</menupopup>
|
|
|
|
|
2015-04-27 00:23:26 +03:00
|
|
|
<popupnotification id="password-notification" hidden="true">
|
|
|
|
<popupnotificationcontent orient="vertical">
|
2016-05-28 19:51:09 +03:00
|
|
|
<textbox id="password-notification-username"/>
|
|
|
|
<textbox id="password-notification-password" type="password" show-content=""/>
|
|
|
|
<checkbox id="password-notification-visibilityToggle" hidden="true"/>
|
2015-04-27 00:23:26 +03:00
|
|
|
</popupnotificationcontent>
|
|
|
|
</popupnotification>
|
|
|
|
|
2010-07-15 08:02:52 +04:00
|
|
|
</popupset>
|
2008-11-14 22:22:54 +03:00
|
|
|
|
2008-07-22 16:21:15 +04:00
|
|
|
<!-- context menu -->
|
|
|
|
<popupset id="contentAreaContextSet"/>
|
|
|
|
|
2013-04-24 22:06:58 +04:00
|
|
|
<vbox id="titlebar"/>
|
|
|
|
|
2008-11-14 22:22:54 +03:00
|
|
|
<toolbox id="navigator-toolbox" class="toolbox-top" deferattached="true"
|
|
|
|
mode="full" defaultmode="full">
|
2008-07-22 16:21:15 +04:00
|
|
|
<!-- Menu -->
|
2009-02-16 18:20:04 +03:00
|
|
|
<toolbar type="menubar" id="toolbar-menubar" class="chromeclass-menubar"
|
|
|
|
persist="collapsed" grippytooltiptext="&menuBar.tooltip;" customizable="true"
|
|
|
|
defaultset="menubar-items"
|
|
|
|
mode="icons" iconsize="small"
|
|
|
|
defaultmode="icons" defaulticonsize="small"
|
|
|
|
context="toolbar-context-menu">
|
|
|
|
<toolbaritem id="menubar-items" class="menubar-items" align="center">
|
|
|
|
<menubar id="main-menubar"/>
|
|
|
|
</toolbaritem>
|
|
|
|
</toolbar>
|
2008-07-22 16:21:15 +04:00
|
|
|
|
2016-06-25 17:49:45 +03:00
|
|
|
<toolbar class="toolbar-primary chromeclass-toolbar" id="nav-bar" persist="collapsed"
|
2008-07-22 16:21:15 +04:00
|
|
|
grippytooltiptext="&navigationToolbar.tooltip;"
|
2008-11-14 22:22:54 +03:00
|
|
|
fullscreentoolbar="true" customizable="true"
|
|
|
|
toolbarname="&navbarCmd.label;" accesskey="&navbarCmd.accesskey;"
|
2010-06-19 15:01:54 +04:00
|
|
|
defaultset="back-button,forward-button,reload-button,stop-button,nav-bar-inner,search-button-container,print-button,throbber-box,window-controls"
|
2009-01-26 13:50:55 +03:00
|
|
|
context="toolbar-context-menu">
|
|
|
|
|
|
|
|
<hbox id="window-controls" hidden="true" fullscreencontrol="true">
|
|
|
|
<toolbarbutton id="minimize-button"
|
|
|
|
tooltiptext="&minimizeButton.tooltip;"
|
|
|
|
oncommand="window.minimize();"/>
|
|
|
|
|
|
|
|
<toolbarbutton id="restore-button"
|
|
|
|
tooltiptext="&restoreButton.tooltip;"
|
|
|
|
oncommand="BrowserFullScreen();"/>
|
|
|
|
|
|
|
|
<toolbarbutton id="close-button"
|
|
|
|
tooltiptext="&closeWindow.label;"
|
|
|
|
oncommand="BrowserTryToCloseWindow();"/>
|
|
|
|
</hbox>
|
|
|
|
</toolbar>
|
|
|
|
|
|
|
|
<toolbarset id="customToolbars" context="toolbar-context-menu"/>
|
|
|
|
|
2009-08-14 22:00:08 +04:00
|
|
|
<toolbar id="PersonalToolbar"
|
2012-01-14 18:57:59 +04:00
|
|
|
accesskey="&bookmarksToolbarCmd.accesskey;"
|
2009-08-14 22:00:08 +04:00
|
|
|
class="chromeclass-directories"
|
|
|
|
persist="collapsed"
|
2012-01-14 18:57:59 +04:00
|
|
|
grippytooltiptext="&bookmarksToolbar.tooltip;"
|
|
|
|
toolbarname="&bookmarksToolbarCmd.label;"
|
2009-08-14 22:00:08 +04:00
|
|
|
nowindowdrag="true"
|
2009-01-26 13:50:55 +03:00
|
|
|
customizable="true"
|
|
|
|
defaultset="home-button,separator,bookmarks-button,personal-bookmarks"
|
2009-08-14 22:00:08 +04:00
|
|
|
mode="full"
|
|
|
|
iconsize="small"
|
|
|
|
labelalign="end"
|
|
|
|
defaultmode="full"
|
|
|
|
defaulticonsize="small"
|
|
|
|
defaultlabelalign="end"
|
2008-11-14 22:22:54 +03:00
|
|
|
context="toolbar-context-menu">
|
2009-01-26 13:50:55 +03:00
|
|
|
</toolbar>
|
|
|
|
|
|
|
|
<toolbarpalette id="BrowserToolbarPalette">
|
|
|
|
|
|
|
|
<!-- Nav bar buttons -->
|
|
|
|
<toolbarbutton id="back-button" type="menu-button"
|
|
|
|
class="toolbarbutton-1 chromeclass-toolbar-additional"
|
|
|
|
label="&backButton.label;"
|
2010-08-30 13:46:39 +04:00
|
|
|
oncommand="if (event.target==this) BrowserBack(event); else gotoHistoryIndex(event);"
|
|
|
|
onclick="checkForMiddleClick(this, event);"
|
2009-01-26 13:50:55 +03:00
|
|
|
context="backMenu"
|
|
|
|
tooltiptext="&backButton.tooltip;">
|
|
|
|
<observes element="canGoBack" attribute="disabled"/>
|
|
|
|
<menupopup context="" onpopupshowing="BrowserBackMenu(event);"/>
|
|
|
|
</toolbarbutton>
|
|
|
|
|
|
|
|
<toolbarbutton id="forward-button" type="menu-button"
|
|
|
|
class="toolbarbutton-1 chromeclass-toolbar-additional"
|
|
|
|
label="&forwardButton.label;"
|
2010-08-30 13:46:39 +04:00
|
|
|
oncommand="if (event.target==this) BrowserForward(event); else gotoHistoryIndex(event);"
|
|
|
|
onclick="checkForMiddleClick(this, event);"
|
2009-01-26 13:50:55 +03:00
|
|
|
context="forwardMenu"
|
|
|
|
tooltiptext="&forwardButton.tooltip;">
|
|
|
|
<observes element="canGoForward" attribute="disabled"/>
|
|
|
|
<menupopup context="" onpopupshowing="BrowserForwardMenu(event);"/>
|
|
|
|
</toolbarbutton>
|
|
|
|
|
|
|
|
<toolbarbutton id="reload-button"
|
|
|
|
class="toolbarbutton-1 chromeclass-toolbar-additional"
|
|
|
|
label="&reloadButton.label;"
|
2010-08-30 13:46:39 +04:00
|
|
|
oncommand="BrowserReload(event);"
|
|
|
|
onclick="checkForMiddleClick(this, event);"
|
2009-01-26 13:50:55 +03:00
|
|
|
tooltiptext="&reloadButton.tooltip;"/>
|
|
|
|
|
|
|
|
<toolbarbutton id="stop-button"
|
|
|
|
class="toolbarbutton-1 chromeclass-toolbar-additional"
|
|
|
|
label="&stopButton.label;"
|
|
|
|
oncommand="BrowserStop();" observes="canStop"
|
2010-04-15 00:17:07 +04:00
|
|
|
disabled="true"
|
2009-01-26 13:50:55 +03:00
|
|
|
tooltiptext="&stopButton.tooltip;">
|
|
|
|
</toolbarbutton>
|
|
|
|
|
|
|
|
<!-- XXXRatty ? class="toolbarbutton-1 chromeclass-toolbar-additional" ? -->
|
|
|
|
<toolbarbutton id="home-button"
|
|
|
|
class="toolbarbutton-1"
|
|
|
|
label="&homeButton.label;"
|
|
|
|
oncommand="BrowserHome(event);"
|
|
|
|
onclick="if (event.button == 1) BrowserHome(event);"
|
|
|
|
tooltip="home-button-tooltip"
|
2012-08-01 02:45:06 +04:00
|
|
|
ondragstart="homeButtonObserver.onDragStart(event);"
|
2015-06-15 06:52:05 +03:00
|
|
|
ondrop="homeButtonObserver.onDrop(event);"
|
2012-08-01 02:45:06 +04:00
|
|
|
ondragenter="event.stopPropagation();"
|
|
|
|
ondragexit="homeButtonObserver.onDragExit(event);"
|
|
|
|
ondragover="homeButtonObserver.onDragOver(event);"/>
|
2009-01-26 13:50:55 +03:00
|
|
|
|
2010-06-19 15:01:54 +04:00
|
|
|
<toolbaritem id="nav-bar-inner"
|
2011-03-11 00:42:00 +03:00
|
|
|
flex="4"
|
2010-06-19 15:01:54 +04:00
|
|
|
persist="width"
|
|
|
|
class="chromeclass-location nav-bar-class"
|
|
|
|
title="&locationBar.title;">
|
2008-07-22 16:21:15 +04:00
|
|
|
<textbox id="urlbar" class="chromeclass-location uri-element" flex="1"
|
2009-01-26 13:50:55 +03:00
|
|
|
type="autocomplete" autocompletesearch="history file"
|
2008-07-22 16:21:15 +04:00
|
|
|
timeout="50" maxrows="6"
|
2011-03-14 00:26:48 +03:00
|
|
|
enablehistory="true" accesskey="&locationBar.accesskey;"
|
2008-07-22 16:21:15 +04:00
|
|
|
defaultSearchEngine="true" tabscrolling="true"
|
|
|
|
showcommentcolumn="true"
|
2013-09-22 19:07:05 +04:00
|
|
|
placeholder="&locationBar.tooltip;"
|
2008-07-22 16:21:15 +04:00
|
|
|
newlines="stripsurroundingwhitespace"
|
2009-07-01 00:41:22 +04:00
|
|
|
aria-label="&locationBar.title;"
|
2008-07-22 16:21:15 +04:00
|
|
|
oninput="gBrowser.userTypedValue = this.value;"
|
|
|
|
ontextentered="return handleURLBarCommand(eventParam, domEvent);"
|
|
|
|
ontextreverted="return handleURLBarRevert();"
|
|
|
|
onfocus="URLBarFocusHandler(event);"
|
|
|
|
onmousedown="URLBarMouseDownHandler(event);"
|
|
|
|
onclick="URLBarClickHandler(event);">
|
2011-01-06 02:26:57 +03:00
|
|
|
<box id="notification-popup-box" hidden="true" align="center"
|
|
|
|
onmousedown="event.stopPropagation();"
|
|
|
|
onclick="event.stopPropagation();">
|
2011-01-28 01:13:33 +03:00
|
|
|
<image id="default-notification-icon" class="notification-anchor-icon" role="button"/>
|
2010-10-05 15:09:20 +04:00
|
|
|
<image id="geo-notification-icon" class="notification-anchor-icon" role="button"/>
|
2010-12-05 23:26:42 +03:00
|
|
|
<image id="addons-notification-icon" class="notification-anchor-icon" role="button"/>
|
2011-02-04 00:07:32 +03:00
|
|
|
<image id="indexedDB-notification-icon" class="notification-anchor-icon" role="button"/>
|
2010-10-20 15:24:28 +04:00
|
|
|
<image id="password-notification-icon" class="notification-anchor-icon" role="button"/>
|
2012-04-15 02:47:25 +04:00
|
|
|
<image id="plugins-notification-icon" class="notification-anchor-icon" role="button"/>
|
2013-05-31 22:29:05 +04:00
|
|
|
<image id="web-notifications-notification-icon" class="notification-anchor-icon" role="button"/>
|
2010-10-05 15:09:20 +04:00
|
|
|
</box>
|
2009-01-26 13:50:55 +03:00
|
|
|
<deck id="page-proxy-deck"
|
|
|
|
class="urlbar-icons"
|
2012-07-16 19:00:03 +04:00
|
|
|
ondragstart="proxyIconDNDObserver.onDragStart(event);"
|
2009-01-26 13:50:55 +03:00
|
|
|
onclick="handlePageProxyClick(event);">
|
2008-07-22 16:21:15 +04:00
|
|
|
<image id="page-proxy-button"
|
|
|
|
tooltiptext="&proxyIcon.tooltip;"/>
|
|
|
|
<image id="page-proxy-favicon" validate="never"
|
|
|
|
onload="this.parentNode.selectedIndex = 1;
|
2010-08-09 00:06:47 +04:00
|
|
|
event.stopPropagation();"
|
|
|
|
onerror="gBrowser.addToMissedIconCache(this.src);"
|
2008-07-22 16:21:15 +04:00
|
|
|
tooltiptext="&proxyIcon.tooltip;"/>
|
|
|
|
</deck>
|
2011-01-06 02:26:57 +03:00
|
|
|
<hbox id="urlbar-icons" class="urlbar-icons"
|
|
|
|
onmousedown="event.stopPropagation();"
|
|
|
|
onclick="event.stopPropagation();">
|
2008-09-25 02:49:47 +04:00
|
|
|
<image id="feedsButton" hidden="true" popup="feedsPopup"/>
|
2009-06-11 02:55:02 +04:00
|
|
|
<image id="ev-button" hidden="true"
|
|
|
|
onclick="if (event.button == 0) BrowserPageInfo(null, 'securityTab');"/>
|
2010-09-06 17:31:20 +04:00
|
|
|
<image id="star-button"
|
|
|
|
onclick="PlacesStarButton.onClick(event);"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
</hbox>
|
|
|
|
<menupopup id="ubhist-popup" class="autocomplete-history-popup"
|
|
|
|
popupalign="topleft" popupanchor="bottomleft"
|
2009-01-26 13:50:55 +03:00
|
|
|
onpopupshowing="createUBHistoryMenu(event.target);"
|
2008-07-22 16:21:15 +04:00
|
|
|
oncommand="executeUrlBarHistoryCommand(event.target);"/>
|
|
|
|
</textbox>
|
2010-06-19 15:01:54 +04:00
|
|
|
</toolbaritem>
|
2008-07-22 16:21:15 +04:00
|
|
|
|
2010-06-19 15:01:54 +04:00
|
|
|
<toolbaritem id="go-button-container"
|
|
|
|
class="nav-bar-class"
|
|
|
|
title="&goButton.label;">
|
|
|
|
<button id="go-button"
|
|
|
|
class="button-toolbar chromeclass-location"
|
|
|
|
label="&goButton.label;"
|
|
|
|
tooltiptext="&goButton.tooltip;"
|
|
|
|
default="true"
|
2010-12-06 19:07:12 +03:00
|
|
|
oncommand="handleURLBarCommand('none', event);"
|
2011-12-10 14:27:25 +04:00
|
|
|
onclick="checkForMiddleClick(this, event);"
|
2012-08-01 02:45:08 +04:00
|
|
|
ondragover="goButtonObserver.onDragOver(event);"
|
2015-06-15 06:52:05 +03:00
|
|
|
ondrop="goButtonObserver.onDrop(event);"/>
|
2010-06-19 15:01:54 +04:00
|
|
|
</toolbaritem>
|
2008-07-22 16:21:15 +04:00
|
|
|
|
2010-06-19 15:01:54 +04:00
|
|
|
<toolbaritem id="search-button-container"
|
|
|
|
class="nav-bar-class"
|
|
|
|
title="&searchButton.label;">
|
|
|
|
<button id="search-button"
|
|
|
|
class="button-toolbar chromeclass-location"
|
2008-07-22 16:21:15 +04:00
|
|
|
label="&searchButton.label;"
|
2010-06-19 15:01:54 +04:00
|
|
|
tooltiptext="&searchButton.tooltip;"
|
2010-09-30 13:57:09 +04:00
|
|
|
oncommand="BrowserSearch.loadSearch(QualifySearchTerm());"
|
2012-08-01 02:45:08 +04:00
|
|
|
ondragover="searchButtonObserver.onDragOver(event);"
|
2015-06-15 06:52:05 +03:00
|
|
|
ondrop="searchButtonObserver.onDrop(event);"/>
|
2009-01-26 13:50:55 +03:00
|
|
|
</toolbaritem>
|
2008-07-22 16:21:15 +04:00
|
|
|
|
2011-03-11 00:42:00 +03:00
|
|
|
<toolbaritem id="search-container" title="&searchItem.title;"
|
2011-03-13 21:48:19 +03:00
|
|
|
align="center" class="chromeclass-toolbar-additional nav-bar-class"
|
2011-03-11 00:42:00 +03:00
|
|
|
flex="1" persist="width" removable="true">
|
|
|
|
<searchbar id="searchbar" flex="1"/>
|
|
|
|
</toolbaritem>
|
|
|
|
|
2011-09-24 16:53:14 +04:00
|
|
|
<toolbarbutton id="print-button"
|
2008-07-22 16:21:15 +04:00
|
|
|
label="&printButton.label;"
|
2011-09-24 16:53:14 +04:00
|
|
|
tooltiptext="&printButton.tooltip;"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
|
2008-11-14 22:22:54 +03:00
|
|
|
<toolbaritem id="throbber-box" align="center">
|
2010-08-30 13:46:39 +04:00
|
|
|
<button id="navigator-throbber"
|
|
|
|
oncommand="goClickThrobber('browser.throbber.url', event)"
|
|
|
|
onclick="checkForMiddleClick(this, event);"
|
2008-07-22 16:21:15 +04:00
|
|
|
tooltiptext="&throbber.tooltip;"/>
|
2008-11-14 22:22:54 +03:00
|
|
|
</toolbaritem>
|
|
|
|
|
2012-01-14 18:57:59 +04:00
|
|
|
<!-- "Bookmarks" button on Bookmarks Toolbar -->
|
2010-08-09 00:06:47 +04:00
|
|
|
<toolbarbutton type="menu" id="bookmarks-button"
|
|
|
|
class="bookmark-item" container="true"
|
2008-07-22 16:21:15 +04:00
|
|
|
label="&bookmarksButton.label;"
|
2010-08-09 00:06:47 +04:00
|
|
|
ondragenter="PlacesMenuDNDHandler.onDragEnter(event);"
|
|
|
|
ondragover="PlacesMenuDNDHandler.onDragOver(event);"
|
2010-12-16 01:54:52 +03:00
|
|
|
ondragexit="PlacesMenuDNDHandler.onDragExit(event);"
|
2010-08-09 00:06:47 +04:00
|
|
|
ondrop="PlacesMenuDNDHandler.onDrop(event);">
|
|
|
|
<menupopup id="BMB_bookmarksPopup"
|
|
|
|
placespopup="true"
|
|
|
|
context="placesContext"
|
|
|
|
openInTabs="children"
|
|
|
|
oncommand="BookmarksEventHandler.onCommand(event);"
|
|
|
|
onclick="BookmarksEventHandler.onClick(event);"
|
2012-01-14 18:57:59 +04:00
|
|
|
onpopupshowing="BookmarksMenu.onPopupShowing(event, 'BMB_');
|
2011-08-13 14:40:20 +04:00
|
|
|
BookmarksEventHandler.onPopupShowing(event);"
|
2010-08-09 00:06:47 +04:00
|
|
|
tooltip="bhTooltip" popupsinherittooltip="true">
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuitem command="Browser:AddBookmark"/>
|
|
|
|
<menuitem command="Browser:AddBookmarkAs"/>
|
2010-08-09 00:06:47 +04:00
|
|
|
<menuitem command="Browser:BookmarkAllTabs"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuitem command="Browser:ManageBookmark"/>
|
2010-08-09 00:06:47 +04:00
|
|
|
<menuseparator/>
|
2011-04-20 20:45:58 +04:00
|
|
|
<menu id="BMB_feedsMenu" class="menu-iconic feedsMenu" command="feedsMenu"
|
2010-08-09 00:06:47 +04:00
|
|
|
label="&feedsMenu.label;" accesskey="&feedsMenu.accesskey;">
|
|
|
|
<menupopup onpopupshowing="window.XULBrowserWindow.populateFeeds(this);"
|
|
|
|
oncommand="subscribeToFeed(event.target.statusText, event);"
|
|
|
|
onclick="checkForMiddleClick(this, event);"/>
|
|
|
|
</menu>
|
|
|
|
<menuseparator/>
|
|
|
|
<menu id="BMB_bookmarksToolbarFolderMenu"
|
|
|
|
class="menu-iconic bookmark-item"
|
2012-01-14 18:57:59 +04:00
|
|
|
label="&bookmarksToolbarCmd.label;"
|
2010-08-09 00:06:47 +04:00
|
|
|
container="true">
|
|
|
|
<menupopup id="BMB_bookmarksToolbarFolderPopup"
|
|
|
|
placespopup="true"
|
|
|
|
context="placesContext"
|
|
|
|
onpopupshowing="if (!this.parentNode._placesView)
|
|
|
|
new PlacesMenu(event, 'place:folder=TOOLBAR');"/>
|
|
|
|
</menu>
|
|
|
|
<menu id="BMB_unsortedBookmarksFolderMenu"
|
|
|
|
class="menu-iconic bookmark-item"
|
|
|
|
container="true">
|
|
|
|
<menupopup id="BMB_unsortedBookmarksFolderPopup"
|
|
|
|
placespopup="true"
|
|
|
|
context="placesContext"
|
|
|
|
onpopupshowing="if (!this.parentNode._placesView)
|
|
|
|
new PlacesMenu(event, 'place:folder=UNFILED_BOOKMARKS');"/>
|
|
|
|
</menu>
|
|
|
|
<menuseparator/>
|
2008-07-22 16:21:15 +04:00
|
|
|
</menupopup>
|
|
|
|
</toolbarbutton>
|
|
|
|
|
2010-08-09 00:06:47 +04:00
|
|
|
<toolbaritem flex="1" id="personal-bookmarks" title="&bookmarksToolbarItem.label;"
|
|
|
|
removable="true">
|
|
|
|
<hbox flex="1"
|
|
|
|
id="PlacesToolbar"
|
|
|
|
context="placesContext"
|
|
|
|
onclick="BookmarksEventHandler.onClick(event);"
|
|
|
|
oncommand="BookmarksEventHandler.onCommand(event);"
|
|
|
|
tooltip="bhTooltip"
|
|
|
|
popupsinherittooltip="true">
|
|
|
|
<toolbarbutton class="bookmark-item bookmarks-toolbar-customize"
|
|
|
|
mousethrough="never"
|
|
|
|
label="&bookmarksToolbarItem.label;"/>
|
|
|
|
<hbox flex="1">
|
|
|
|
<hbox align="center">
|
|
|
|
<image id="PlacesToolbarDropIndicator"
|
|
|
|
mousethrough="always"
|
|
|
|
collapsed="true"/>
|
|
|
|
</hbox>
|
|
|
|
<scrollbox orient="horizontal"
|
|
|
|
id="PlacesToolbarItems"
|
|
|
|
flex="1"/>
|
|
|
|
<toolbarbutton type="menu"
|
|
|
|
id="PlacesChevron"
|
|
|
|
class="chevron"
|
|
|
|
mousethrough="never"
|
|
|
|
collapsed="true"
|
|
|
|
tooltiptext="&bookmarksToolbarChevron.tooltip;"
|
|
|
|
onpopupshowing="this.parentNode.parentNode
|
|
|
|
._placesView._onChevronPopupShowing(event);">
|
|
|
|
<menupopup id="PlacesChevronPopup"
|
|
|
|
placespopup="true"
|
|
|
|
tooltip="bhTooltip" popupsinherittooltip="true"
|
|
|
|
context="placesContext"/>
|
|
|
|
</toolbarbutton>
|
|
|
|
</hbox>
|
2009-01-26 13:50:55 +03:00
|
|
|
</hbox>
|
|
|
|
</toolbaritem>
|
|
|
|
|
2011-01-28 01:32:32 +03:00
|
|
|
<!-- see utilityOverlay.xul -->
|
|
|
|
<toolbarbutton id="sync-button"/>
|
2009-01-26 13:50:55 +03:00
|
|
|
</toolbarpalette>
|
2008-07-22 16:21:15 +04:00
|
|
|
</toolbox>
|
2010-07-15 08:02:52 +04:00
|
|
|
|
2008-07-22 16:21:15 +04:00
|
|
|
<hbox flex="1">
|
2015-09-28 01:55:57 +03:00
|
|
|
<vbox id="sidebar-box" class="chromeclass-extrachrome" domfullscreenhidden="true"/>
|
|
|
|
<splitter id="sidebar-splitter" class="chromeclass-extrachrome" domfullscreenhidden="true"/>
|
2010-07-15 08:02:52 +04:00
|
|
|
|
2010-12-17 02:37:42 +03:00
|
|
|
<vbox id="appcontent" flex="1">
|
2015-09-28 01:55:57 +03:00
|
|
|
<findbar id="FindToolbar" browserid="content" domfullscreenhidden="true"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
|
|
|
|
<!-- this box is temporary, pending XBLified <browser> -->
|
|
|
|
<hbox id="browser" flex="1">
|
|
|
|
<tabbrowser id="content"
|
|
|
|
flex="1" contenttooltip="aHTMLTooltip"
|
|
|
|
contentcontextmenu="contentAreaContextMenu"
|
|
|
|
onnewtab="BrowserOpenTab();"
|
2010-10-11 08:13:30 +04:00
|
|
|
onnewtabclick="checkForMiddleClick(this, event);"
|
2008-07-22 16:21:15 +04:00
|
|
|
autocompletepopup="PopupAutoComplete"
|
2011-08-13 14:40:20 +04:00
|
|
|
onbookmarkgroup="PlacesCommandHook.bookmarkCurrentPages();"
|
2013-04-21 17:16:15 +04:00
|
|
|
oncontentclick="return contentAreaClick(event);"
|
2008-07-22 16:21:15 +04:00
|
|
|
oncommand="BrowserOnCommand(event);"/>
|
|
|
|
<!-- The oncommand listener above lets us fix bugs like 401575 which
|
|
|
|
require error page UI to do privileged things, without letting
|
|
|
|
error pages have any privilege themselves. -->
|
|
|
|
</hbox>
|
2016-06-25 17:49:45 +03:00
|
|
|
</vbox>
|
2008-07-22 16:21:15 +04:00
|
|
|
</hbox>
|
|
|
|
|
2009-02-03 17:54:11 +03:00
|
|
|
<panel id="customizeToolbarSheetPopup"/>
|
|
|
|
|
2010-12-17 02:37:42 +03:00
|
|
|
<statusbar id="status-bar" class="chromeclass-status">
|
2008-07-22 16:21:15 +04:00
|
|
|
<statusbarpanel id="component-bar"/>
|
|
|
|
<statusbarpanel id="statusbar-display" label="&statusText.label;" flex="1"/>
|
2009-01-10 01:35:20 +03:00
|
|
|
<statusbarpanel class="statusbarpanel-progress" id="statusbar-progresspanel" collapsed="true">
|
2008-07-22 16:21:15 +04:00
|
|
|
<progressmeter class="progressmeter-statusbar" id="statusbar-icon" mode="normal" value="0"/>
|
|
|
|
</statusbarpanel>
|
|
|
|
<statusbarpanel id="popupIcon" class="statusbarpanel-iconic" hidden="true"
|
|
|
|
oncommand="StatusbarViewPopupManager()"
|
|
|
|
tooltiptext="&popupIcon.tooltiptext;"
|
|
|
|
context="popupBlockerMenu"/>
|
|
|
|
<statusbarpanel class="statusbarpanel-iconic" id="offline-status"/>
|
2010-07-23 02:30:59 +04:00
|
|
|
<statusbarpanel class="statusbarpanel-backgroundbox"
|
2009-04-15 16:56:50 +04:00
|
|
|
id="security-button" dir="reverse"
|
2014-04-03 08:18:16 +04:00
|
|
|
context="security-context-menu"
|
2008-07-22 16:21:15 +04:00
|
|
|
oncommand="BrowserPageInfo(null, 'securityTab')"/>
|
2016-06-25 17:49:45 +03:00
|
|
|
</statusbar>
|
2008-07-22 16:21:15 +04:00
|
|
|
</window>
|