5 # ***** BEGIN LICENSE BLOCK *****
6 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
8 # The contents of this file are subject to the Mozilla Public License Version
9 # 1.1 (the "License"); you may not use this file except in compliance with
10 # the License. You may obtain a copy of the License at
11 # http://www.mozilla.org/MPL/
13 # Software distributed under the License is distributed on an "AS IS" basis,
14 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
15 # for the specific language governing rights and limitations under the
18 # The Original Code is Mozilla Communicator client code, released
21 # The Initial Developer of the Original Code is
22 # Netscape Communications Corporation.
23 # Portions created by the Initial Developer are Copyright (C) 1998-2000
24 # the Initial Developer. All Rights Reserved.
27 # Blake Ross <blake@cs.stanford.edu>
28 # David Hyatt <hyatt@mozilla.org>
29 # Joe Hewitt <hewitt@netscape.com>
30 # Pierre Chanial <chanial@noos.fr>
31 # Dean Tessman <dean_tessman@hotmail.com>
32 # Johnathan Nightingale <johnath@mozilla.com>
33 # Dão Gottwald <dao@mozilla.com>
34 # Ehsan Akhgari <ehsan.akhgari@gmail.com>
35 # Robert Strong <robert.bugzilla@gmail.com>
36 # Rob Campbell <rcampbell@mozilla.com>
37 # Patrick Walton <pcwalton@mozilla.com>
39 # Alternatively, the contents of this file may be used under the terms of
40 # either the GNU General Public License Version 2 or later (the "GPL"), or
41 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
42 # in which case the provisions of the GPL or the LGPL are applicable instead
43 # of those above. If you wish to allow use of your version of this file only
44 # under the terms of either the GPL or the LGPL, and not to allow others to
45 # use your version of this file under the terms of the MPL, indicate your
46 # decision by deleting the provisions above and replace them with the notice
47 # and other provisions required by the GPL or the LGPL. If you do not delete
48 # the provisions above, a recipient may use your version of this file under
49 # the terms of any one of the MPL, the GPL or the LGPL.
51 # ***** END LICENSE BLOCK *****
53 <?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?>
54 <?xml-stylesheet href="chrome://browser/content/places/places.css" type="text/css"?>
55 <?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
57 <?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
58 <?xul-overlay href="chrome://browser/content/baseMenuOverlay.xul"?>
59 <?xul-overlay href="chrome://browser/content/places/placesOverlay.xul"?>
61 # All DTD information is stored in a separate file so that it can be shared by
63 #include browser-doctype.inc
65 <window id="main-window"
66 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
67 xmlns:svg="http://www.w3.org/2000/svg"
68 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
69 onload="BrowserStartup()" onunload="BrowserShutdown()" onclose="return WindowIsClosing();"
70 title="&mainWindow.title;@PRE_RELEASE_SUFFIX@"
71 title_normal="&mainWindow.title;@PRE_RELEASE_SUFFIX@"
73 title_privatebrowsing="&mainWindow.title;@PRE_RELEASE_SUFFIX@&mainWindow.titlemodifiermenuseparator;&mainWindow.titlePrivateBrowsingSuffix;"
74 titledefault="&mainWindow.title;@PRE_RELEASE_SUFFIX@"
76 titlemodifier_normal=""
77 titlemodifier_privatebrowsing="&mainWindow.titlePrivateBrowsingSuffix;"
79 title_privatebrowsing="&mainWindow.titlemodifier;@PRE_RELEASE_SUFFIX@ &mainWindow.titlePrivateBrowsingSuffix;"
80 titlemodifier="&mainWindow.titlemodifier;@PRE_RELEASE_SUFFIX@"
81 titlemodifier_normal="&mainWindow.titlemodifier;@PRE_RELEASE_SUFFIX@"
82 titlemodifier_privatebrowsing="&mainWindow.titlemodifier;@PRE_RELEASE_SUFFIX@ &mainWindow.titlePrivateBrowsingSuffix;"
84 titlemenuseparator="&mainWindow.titlemodifiermenuseparator;"
85 lightweightthemes="true"
86 lightweightthemesfooter="browser-bottombox"
87 windowtype="navigator:browser"
88 screenX="4" screenY="4"
90 persist="screenX screenY width height sizemode">
92 # All JS files which are not content (only) dependent that browser.xul
93 # wishes to include *must* go into the global-scripts.inc file
94 # so that they can be shared by macBrowserOverlay.xul.
95 #include global-scripts.inc
96 <script type="application/javascript" src="chrome://browser/content/nsContextMenu.js"/>
98 #ifdef MOZ_SAFE_BROWSING
99 <script type="application/javascript" src="chrome://browser/content/safebrowsing/sb-loader.js"/>
101 <script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/>
103 <script type="application/javascript" src="chrome://browser/content/places/editBookmarkOverlay.js"/>
105 # All sets except for popupsets (commands, keys, stringbundles and broadcasters) *must* go into the
106 # browser-sets.inc file for sharing with hiddenWindow.xul.
107 #include browser-sets.inc
109 <popupset id="mainPopupSet">
110 <menupopup id="tabContextMenu"
111 onpopupshowing="if (event.target == this) TabContextMenu.updateContextMenu(this);"
112 onpopuphidden="if (event.target == this) TabContextMenu.contextTab = null;">
113 <menuitem id="context_reloadTab" label="&reloadTab.label;" accesskey="&reloadTab.accesskey;"
114 oncommand="gBrowser.reloadTab(TabContextMenu.contextTab);"/>
115 <menuitem id="context_reloadAllTabs" label="&reloadAllTabs.label;" accesskey="&reloadAllTabs.accesskey;"
116 tbattr="tabbrowser-multiple"
117 oncommand="gBrowser.reloadAllTabs();"/>
119 <menuitem id="context_openTabInWindow" label="&openTabInNewWindow.label;"
120 accesskey="&openTabInNewWindow.accesskey;"
121 tbattr="tabbrowser-multiple"
122 oncommand="gBrowser.replaceTabWithWindow(TabContextMenu.contextTab);"/>
123 <menuitem id="context_pinTab" label="&pinTab.label;"
124 accesskey="&pinTab.accesskey;"
125 oncommand="gBrowser.pinTab(TabContextMenu.contextTab);"/>
126 <menuitem id="context_unpinTab" label="&unpinTab.label;" hidden="true"
127 accesskey="&unpinTab.accesskey;"
128 oncommand="gBrowser.unpinTab(TabContextMenu.contextTab);"/>
129 <menu id="context_tabViewMenu" label="&moveToGroup.label;"
130 accesskey="&moveToGroup.accesskey;">
131 <menupopup id="context_tabViewMenuPopup"
132 onpopupshowing="if (event.target == this) TabView.updateContextMenu(TabContextMenu.contextTab, this);">
133 <menuseparator id="context_tabViewNamedGroups" hidden="true"/>
134 <menuitem label="&moveToNewGroup.label;"
135 oncommand="TabView.moveTabTo(TabContextMenu.contextTab, null);"/>
139 <menuitem id="context_bookmarkTab"
140 label="&bookmarkThisTab.label;"
141 accesskey="&bookmarkThisTab.accesskey;"
142 oncommand="BookmarkThisTab(TabContextMenu.contextTab);"/>
143 <menuitem id="context_bookmarkAllTabs"
144 label="&bookmarkAllTabs.label;"
145 accesskey="&bookmarkAllTabs.accesskey;"
146 command="Browser:BookmarkAllTabs"/>
148 <menuitem id="context_closeOtherTabs" label="&closeOtherTabs.label;" accesskey="&closeOtherTabs.accesskey;"
149 oncommand="gBrowser.removeAllTabsBut(TabContextMenu.contextTab);"/>
150 <menuitem id="context_undoCloseTab"
151 label="&undoCloseTab.label;"
152 accesskey="&undoCloseTab.accesskey;"
153 observes="History:UndoCloseTab"/>
154 <menuitem id="context_closeTab" label="&closeTab.label;" accesskey="&closeTab.accesskey;"
155 oncommand="gBrowser.removeTab(TabContextMenu.contextTab, { animate: true });"/>
158 <menupopup id="backForwardMenu"
159 onpopupshowing="return FillHistoryMenu(event.target);"
160 oncommand="gotoHistoryIndex(event);"
161 onclick="checkForMiddleClick(this, event);"/>
162 <tooltip id="aHTMLTooltip" onpopupshowing="return FillInHTMLTooltip(document.tooltipNode);"/>
164 <!-- for search and content formfill/pw manager -->
165 <panel type="autocomplete" id="PopupAutoComplete" noautofocus="true" hidden="true"/>
167 <!-- for url bar autocomplete -->
168 <panel type="autocomplete-richlistbox" id="PopupAutoCompleteRichResult" noautofocus="true" hidden="true"/>
170 <panel id="editBookmarkPanel"
174 onpopupshown="StarUI.panelShown(event);"
175 aria-labelledby="editBookmarkPanelTitle">
176 <row id="editBookmarkPanelHeader" align="center" hidden="true">
177 <vbox align="center">
178 <image id="editBookmarkPanelStarIcon"/>
181 <label id="editBookmarkPanelTitle"/>
182 <description id="editBookmarkPanelDescription"/>
184 <button id="editBookmarkPanelUndoRemoveButton"
185 class="editBookmarkPanelHeaderButton"
187 oncommand="StarUI.undoRemoveBookmarkCommand();"
188 label="&editBookmark.undo.label;"
189 accesskey="&editBookmark.undo.accessKey;"/>
190 <button id="editBookmarkPanelRemoveButton"
191 class="editBookmarkPanelHeaderButton"
192 oncommand="StarUI.removeBookmarkButtonCommand();"
193 accesskey="&editBookmark.removeBookmark.accessKey;"/>
194 <button id="editBookmarkPanelEditButton"
195 class="editBookmarkPanelHeaderButton"
196 oncommand="StarUI.editButtonCommand();"
197 label="&editBookmark.edit.label;"
198 accesskey="&editBookmark.edit.accessKey;"/>
202 <vbox id="editBookmarkPanelContent" flex="1" hidden="true"/>
203 <hbox id="editBookmarkPanelBottomButtons" pack="end">
205 <button id="editBookmarkPanelDoneButton"
206 class="editBookmarkPanelBottomButton"
207 label="&editBookmark.done.label;"
209 oncommand="StarUI.panel.hidePopup();"/>
210 <button id="editBookmarkPanelDeleteButton"
211 class="editBookmarkPanelBottomButton"
212 label="&editBookmark.cancel.label;"
213 oncommand="StarUI.cancelButtonOnCommand();"/>
215 <button id="editBookmarkPanelDeleteButton"
216 class="editBookmarkPanelBottomButton"
217 label="&editBookmark.cancel.label;"
218 oncommand="StarUI.cancelButtonOnCommand();"/>
219 <button id="editBookmarkPanelDoneButton"
220 class="editBookmarkPanelBottomButton"
221 label="&editBookmark.done.label;"
223 oncommand="StarUI.panel.hidePopup();"/>
228 <panel id="highlighter-panel"
233 onclick="InspectorUI.stopInspecting();"
234 onmousemove="InspectorUI.highlighter.handleMouseMove(event);"
235 onMozMousePixelScroll="InspectorUI.highlighter.handlePixelScroll(event);"/>
237 <panel id="inspector-panel"
244 label="&inspectPanelTitle.label;">
245 <toolbar id="inspector-toolbar"
247 <toolbarbutton id="inspector-inspect-toolbutton"
248 label="&inspectButton.label;"
249 accesskey="&inspectButton.accesskey;"
250 class="toolbarbutton-text"
251 command="Inspector:Inspect"/>
252 <toolbarbutton id="inspector-previous-toolbutton"
253 label="&inspectPreviousButton.label;"
254 accesskey="&inspectPreviousButton.accesskey;"
255 class="toolbarbutton-text"
256 command="Inspector:Previous"/>
257 <toolbarbutton id="inspector-next-toolbutton"
258 label="&inspectNextButton.label;"
259 accesskey="&inspectNextButton.accesskey;"
260 class="toolbarbutton-text"
261 command="Inspector:Next"/>
262 <toolbarbutton id="inspector-style-toolbutton"
263 label="&inspectStyleButton.label;"
264 accesskey="&inspectStyleButton.accesskey;"
265 class="toolbarbutton-text"
266 oncommand="InspectorUI.toggleStylePanel();'"/>
267 <toolbarbutton id="inspector-dom-toolbutton"
268 label="&inspectDOMButton.label;"
269 accesskey="&inspectDOMButton.accesskey;"
270 class="toolbarbutton-text"
271 oncommand="InspectorUI.toggleDOMPanel();"/>
273 <tree id="inspector-tree" class="plain"
276 onselect="InspectorUI.onTreeSelected()"
279 <treecol id="colNodeName" label="nodeName" primary="true"
280 persist="width,hidden,ordinal" flex="1"/>
281 <splitter class="tree-splitter"/>
282 <treecol id="colNodeValue" label="nodeValue"
283 persist="width,hidden,ordinal" flex="1"/>
285 <treechildren id="inspector-tree-body"/>
289 <resizer dir="bottomend" />
293 <panel id="inspector-style-panel"
300 label="&inspectStylePanelTitle.label;">
301 <listbox id="inspector-style-listbox" flex="1"/>
304 <resizer dir="bottomend"/>
308 <menupopup id="toolbar-context-menu"
309 onpopupshowing="onViewToolbarsPopupShowing(event);">
311 <menuitem command="cmd_ToggleTabsOnTop"
313 label="&viewTabsOnTop.label;"
314 accesskey="&viewTabsOnTop.accesskey;"/>
316 <menuitem command="cmd_CustomizeToolbars"
317 label="&viewCustomizeToolbar.label;"
318 accesskey="&viewCustomizeToolbar.accesskey;"/>
321 <menupopup id="blockedPopupOptions"
322 onpopupshowing="gPopupBlockerObserver.fillPopupList(event);">
323 <menuitem observes="blockedPopupAllowSite"/>
324 <menuitem observes="blockedPopupEditSettings"/>
325 <menuitem observes="blockedPopupDontShowMessage"/>
326 <menuseparator observes="blockedPopupsSeparator"/>
329 <menupopup id="autohide-context"
330 onpopupshowing="FullScreen.getAutohide(this.firstChild);">
331 <menuitem type="checkbox" label="&fullScreenAutohide.label;"
332 accesskey="&fullScreenAutohide.accesskey;"
333 oncommand="FullScreen.setAutohide();"/>
335 <menuitem label="&fullScreenExit.label;"
336 accesskey="&fullScreenExit.accesskey;"
337 oncommand="BrowserFullScreen();"/>
340 <menupopup id="contentAreaContextMenu"
341 onpopupshowing="if (event.target != this)
343 gContextMenu = new nsContextMenu(this, gBrowser);
344 if (gContextMenu.shouldDisplay)
345 updateEditUIVisibility();
346 return gContextMenu.shouldDisplay;"
347 onpopuphiding="if (event.target == this) { gContextMenu = null; updateEditUIVisibility(); }">
348 #include browser-context.inc
351 <menupopup id="placesContext"/>
353 <panel id="notification-popup" position="after_start" noautofocus="true" hidden="true"/>
355 <!-- Popup for site identity information -->
356 <panel id="identity-popup" position="after_start" hidden="true" noautofocus="true"
357 onpopupshown="document.getElementById('identity-popup-more-info-button').focus();"
359 <hbox id="identity-popup-container" align="top">
360 <image id="identity-popup-icon"/>
361 <vbox id="identity-popup-content-box">
362 <label id="identity-popup-connectedToLabel"
363 class="identity-popup-label"
364 value="&identity.connectedTo;"/>
365 <label id="identity-popup-connectedToLabel2"
366 class="identity-popup-label"
367 value="&identity.unverifiedsite2;"/>
368 <description id="identity-popup-content-host"
369 class="identity-popup-description"/>
370 <label id="identity-popup-runByLabel"
371 class="identity-popup-label"
372 value="&identity.runBy;"/>
373 <description id="identity-popup-content-owner"
374 class="identity-popup-description"/>
375 <description id="identity-popup-content-supplemental"
376 class="identity-popup-description"/>
377 <description id="identity-popup-content-verifier"
378 class="identity-popup-description"/>
379 <hbox id="identity-popup-encryption" flex="1">
381 <image id="identity-popup-encryption-icon"/>
383 <description id="identity-popup-encryption-label" flex="1"
384 class="identity-popup-description"/>
386 <!-- Footer button to open security page info -->
388 <button id="identity-popup-more-info-button"
389 label="&identity.moreInfoLinkText;"
390 onblur="gIdentityHandler.hideIdentityPopup();"
391 oncommand="gIdentityHandler.handleMoreInfoClick(event);"/>
397 <tooltip id="urlTooltip">
398 <label crop="center" flex="1" class="tooltip-label"/>
401 <panel id="ctrlTab-panel" class="KUI-panel" hidden="true" norestorefocus="true" level="top">
403 <button class="ctrlTab-preview" flex="1"/>
404 <button class="ctrlTab-preview" flex="1"/>
405 <button class="ctrlTab-preview" flex="1"/>
406 <button class="ctrlTab-preview" flex="1"/>
407 <button class="ctrlTab-preview" flex="1"/>
408 <button class="ctrlTab-preview" flex="1"/>
411 <button id="ctrlTab-showAll" class="ctrlTab-preview" noicon="true"/>
415 <panel id="allTabs-panel" hidden="true" norestorefocus="true" ignorekeys="true"
416 onmouseover="allTabs._updateTabCloseButton(event);">
417 <hbox id="allTabs-meta" align="center">
419 <textbox id="allTabs-filter"
420 tooltiptext="&allTabs.filter.emptyText;"
422 oncommand="allTabs.filter();"/>
424 <toolbarbutton class="KUI-panel-closebutton"
425 oncommand="allTabs.close()"
426 tooltiptext="&closeCmd.label;"/>
428 <stack id="allTabs-stack">
429 <vbox id="allTabs-container"><hbox/></vbox>
430 <toolbarbutton id="allTabs-tab-close-button"
431 class="tab-close-button"
432 oncommand="allTabs.closeTab(event);"
433 tooltiptext="&closeCmd.label;"
434 style="visibility:hidden"/>
438 <!-- Bookmarks and history tooltip -->
439 <tooltip id="bhTooltip"/>
441 <panel id="customizeToolbarSheetPopup"
443 <iframe id="customizeToolbarSheetIFrame"
444 style="&dialog.style;"
448 <tooltip id="tabbrowser-tab-tooltip" onpopupshowing="gBrowser.createTooltip(event);"/>
451 #ifdef MENUBAR_CAN_AUTOHIDE
453 <hbox id="titlebar-content">
454 <hbox id="appmenu-button-container" align="start">
455 <button id="appmenu-button"
457 label="&brandShortName;"
458 style="-moz-user-focus: ignore;">
459 <menupopup id="appmenu-popup"
460 onpopupshowing="updateEditUIVisibility();">
462 <vbox id="appmenuPrimaryPane">
464 class="split-menuitem">
465 <menuitem id="appmenu_newTab"
466 class="split-menuitem-item"
468 label="&tabCmd.label;"
469 command="cmd_newNavigatorTab"/>
470 <menu class="split-menuitem-menu">
472 <menuitem id="appmenu_newTab_popup"
473 label="&tabCmd.label;"
474 command="cmd_newNavigatorTab"/>
475 <menuitem id="appmenu_newNavigator"
476 label="&newNavigatorCmd.label;"
477 command="cmd_newNavigator"/>
479 <menuitem id="appmenu_openFile"
480 label="&openFileCmd.label;"
481 command="Browser:OpenFile"/>
485 <menuitem id="appmenu_privateBrowsing"
486 class="menuitem-iconic"
487 label="&privateBrowsingCmd.start.label;"
488 accesskey="&privateBrowsingCmd.start.accesskey;"
489 startlabel="&privateBrowsingCmd.start.label;"
490 stoplabel="&privateBrowsingCmd.stop.label;"
491 command="Tools:PrivateBrowsing"/>
492 <menuseparator class="menu-seperator"/>
493 <hbox class="split-menuitem">
494 <menuitem id="appmenu-edit-menuitem"
495 label="&editMenu.label;"
497 <toolbarbutton id="appmenu-cut"
498 class="appmenu-edit-button"
500 onclick="if (!this.disabled) hidePopup();"
501 tooltiptext="&cutButton.tooltip;"/>
502 <toolbarbutton id="appmenu-copy"
503 class="appmenu-edit-button"
505 onclick="if (!this.disabled) hidePopup();"
506 tooltiptext="©Button.tooltip;"/>
507 <toolbarbutton id="appmenu-paste"
508 class="appmenu-edit-button"
510 onclick="if (!this.disabled) hidePopup();"
511 tooltiptext="&pasteButton.tooltip;"/>
513 <menuitem id="appmenu_find"
514 label="&appMenuFind.label;"
517 <menuitem id="appmenu_savePage"
518 label="&savePageCmd.label;"
519 command="Browser:SavePage"/>
520 <menuitem id="appmenu_sendLink"
521 label="&sendPageCmd.label;"
522 command="Browser:SendLink"/>
524 class="split-menuitem">
525 <menuitem id="appmenu_print"
526 class="menuitem-iconic split-menuitem-item"
528 label="&printCmd.label;"
529 command="cmd_print"/>
530 <menu class="split-menuitem-menu">
532 <menuitem id="appmenu_print_popup"
533 class="menuitem-iconic"
534 label="&printCmd.label;"
535 command="cmd_print"/>
536 <menuitem id="appmenu_printPreview"
537 label="&printPreviewCmd.label;"
538 command="cmd_printPreview"/>
539 <menuitem id="appmenu_printSetup"
540 label="&printSetupCmd.label;"
541 command="cmd_pageSetup"/>
546 <menu id="appmenu_developer"
547 label="&developerMenu.label;">
548 <menupopup id="appmenu_developer_popup">
549 <menuitem id="appmenu_webConsole"
550 label="&webConsoleCmd.label;"
552 oncommand="HUDConsoleUI.toggleHUD();"/>
553 <menuitem id="appmenu_pageInspect"
554 label="&inspectMenu.label;"
556 command="Tools:Inspect"/>
558 <menuitem id="appmenu_pageSource"
559 label="&viewPageSourceCmd.label;"
560 command="View:PageSource"/>
562 <menuitem label="&goOfflineCmd.label;"
563 accesskey="&goOfflineCmd.accesskey;"
565 oncommand="BrowserOffline.toggleOfflineStatus();"/>
569 <menuitem id="appmenu_fullScreen"
570 label="&fullScreenCmd.label;"
572 observes="View:FullScreen"/>
573 <menuitem id="appmenu-quit"
574 class="menuitem-iconic"
576 label="&quitApplicationCmdWin.label;"
578 label="&quitApplicationCmd.label;"
580 command="cmd_quitApplication"/>
582 <vbox id="appmenuSecondaryPane">
583 <hbox class="split-menuitem">
584 <menuitem id="appmenu_bookmarks"
585 class="menuitem-iconic split-menuitem-item"
587 label="&bookmarksMenu.label;"
588 command="Browser:ShowAllBookmarks"/>
589 <menu id="appmenu_bookmarksMenu"
590 class="split-menuitem-menu">
591 <menupopup id="appmenu_bookmarksMenupopup"
593 context="placesContext"
594 openInTabs="children"
595 oncommand="BookmarksEventHandler.onCommand(event);"
596 onclick="BookmarksEventHandler.onClick(event);"
597 onpopupshowing="BookmarksMenuButton.onPopupShowing(event);
598 if (!this.parentNode._placesView)
599 new PlacesMenu(event, 'place:folder=BOOKMARKS_MENU');
600 this.appendChild(document.getElementById('appmenu_unsortedBookmarks_seperator'));
601 this.appendChild(document.getElementById('appmenu_unsortedBookmarks'));"
603 popupsinherittooltip="true">
604 <menuseparator id="appmenu_unsortedBookmarks_seperator"/>
605 <menuitem id="appmenu_unsortedBookmarks"
606 label="&appMenuUnsorted.label;"
607 oncommand="PlacesCommandHook.showPlacesOrganizer('UnfiledBookmarks');"
608 class="menuitem-iconic"/>
609 <menuitem id="appmenu_organizeBookmarks"
610 label="&organizeBookmarks.label;"
612 command="Browser:ShowAllBookmarks"
615 <menuitem id="appmenu_bookmarkThisPage"
616 class="menuitem-iconic"
617 label="&bookmarkThisPageCmd.label;"
618 command="Browser:AddBookmarkAs"
619 key="addBookmarkAsKb"/>
620 <menuitem id="appmenu_subscribeToPage"
621 class="menuitem-iconic"
622 label="&subscribeToPageMenuitem.label;"
623 oncommand="return FeedHandler.subscribeToFeed(null, event);"
624 onclick="checkForMiddleClick(this, event);"
625 observes="singleFeedMenuitemState"/>
626 <menu id="appmenu_subscribeToPageMenu"
628 label="&subscribeToPageMenupopup.label;"
629 observes="multipleFeedsMenuState">
630 <menupopup id="appmenu_subscribeToPageMenupopup"
631 onpopupshowing="return FeedHandler.buildFeedList(event.target);"
632 oncommand="return FeedHandler.subscribeToFeed(null, event);"
633 onclick="checkForMiddleClick(this, event);"/>
639 <hbox class="split-menuitem">
640 <menuitem id="appmenu_history"
641 class="menuitem-iconic split-menuitem-item"
643 label="&historyMenu.label;"
644 command="Browser:ShowAllHistory"/>
645 <menu id="appmenu_historyMenu"
646 class="split-menuitem-menu">
647 <menupopup id="appmenu_historyMenupopup"
649 oncommand="this.parentNode._placesView._onCommand(event);"
650 onclick="checkForMiddleClick(this, event);"
651 onpopupshowing="if (!this.parentNode._placesView)
652 new HistoryMenu(event);"
654 popupsinherittooltip="true">
655 <menuitem id="appmenu_showAllHistory"
656 label="&showAllHistoryCmd2.label;"
657 key="showAllHistoryKb"
658 command="Browser:ShowAllHistory"/>
660 <menuitem id="appmenu_sanitizeHistory"
661 label="&clearRecentHistory.label;"
663 command="Tools:Sanitize"/>
664 <menuseparator class="hide-if-empty-places-result"/>
665 <menu id="appmenu_recentlyClosedTabsMenu"
666 class="recentlyClosedTabsMenu"
667 label="&historyUndoMenu.label;"
669 <menupopup id="appmenu_recentlyClosedTabsMenupopup"
670 onpopupshowing="document.getElementById('appmenu_historyMenu')._placesView.populateUndoSubmenu();"/>
672 <menu id="appmenu_recentlyClosedWindowsMenu"
673 class="recentlyClosedWindowsMenu"
674 label="&historyUndoWindowMenu.label;"
676 <menupopup id="appmenu_recentlyClosedWindowsMenupopup"
677 onpopupshowing="document.getElementById('appmenu_historyMenu')._placesView.populateUndoWindowSubmenu();"/>
683 <menuitem id="appmenu_downloads"
684 label="&downloads.label;"
685 command="Tools:Downloads"/>
686 <spacer id="appmenuSecondaryPane-spacer"/>
687 <menuitem id="appmenu_addons"
688 class="menuitem-iconic"
689 label="&addons.label;"
690 command="Tools:Addons"/>
691 <hbox class="split-menuitem">
692 <menuitem id="appmenu_customize"
693 label="&preferencesCmd.label;"
694 class="split-menuitem-item"
696 oncommand="openPreferences();"/>
697 <menu class="split-menuitem-menu"
698 label="&preferencesCmd.label;">
699 <menupopup id="appmenu_customizeMenu"
700 onpopupshowing="onViewToolbarsPopupShowing(event, document.getElementById('appmenu_toggleStatusbar'));">
701 <menuitem id="appmenu_preferences"
703 label="&preferencesCmdUnix.label;"
705 label="&preferencesCmd.label;"
707 oncommand="openPreferences();"/>
709 <menuitem id="appmenu_toggleStatusbar"
711 command="cmd_toggleTaskbar"
712 observes="toggle_taskbar"/>
714 <menuitem id="appmenu_toggleTabsOnTop"
715 label="&viewTabsOnTop.label;"
717 command="cmd_ToggleTabsOnTop"/>
718 <menuitem id="appmenu_toolbarLayout"
719 label="&appMenuToolbarLayout.label;"
720 command="cmd_CustomizeToolbars"/>
724 <hbox class="split-menuitem">
725 <menuitem id="appmenu_help"
726 class="split-menuitem-item"
728 label="&helpMenu.label;"
729 oncommand="openHelpLink('firefox-help')"/>
730 <menu class="split-menuitem-menu">
731 <menupopup id="appmenu_helpMenupopup">
732 <menuitem id="appmenu_openHelp"
733 label="&helpMenu.label;"
734 oncommand="openHelpLink('firefox-help')"
735 onclick="checkForMiddleClick(this, event);"/>
736 <menuitem id="appmenu_gettingStarted"
737 label="&appMenuGettingStarted.label;"
738 oncommand="gBrowser.loadOneTab('http://www.mozilla.com/firefox/central/', {inBackground: false});"
739 onclick="checkForMiddleClick(this, event);"/>
741 <menuitem id="appmenu_about"
742 label="&aboutProduct.label;"
743 oncommand="openAboutDialog();"/>
752 <spacer id="titlebar-spacer" flex="1"/>
753 <hbox id="titlebar-buttonbox">
754 <toolbarbutton id="titlebar-min" onclick="window.minimize();"/>
755 <toolbarbutton id="titlebar-max" onclick="onTitlebarMaxClick();"/>
756 <toolbarbutton id="titlebar-close" onclick="window.close();"/>
762 <deck flex="1" id="tab-view-deck">
765 <toolbox id="navigator-toolbox"
766 defaultmode="icons" mode="icons"
768 defaulticonsize="small" iconsize="small"
778 <toolbar type="menubar" id="toolbar-menubar" class="chromeclass-menubar" customizable="true"
779 defaultset="menubar-items"
780 mode="icons" iconsize="small" defaulticonsize="small"
782 #ifdef MENUBAR_CAN_AUTOHIDE
783 toolbarname="&menubarCmd.label;"
784 accesskey="&menubarCmd.accesskey;"
786 context="toolbar-context-menu">
787 <toolbaritem id="menubar-items" align="center">
788 # The entire main menubar is placed into browser-menubar.inc, so that it can be shared by
790 #include browser-menubar.inc
794 <toolbar id="nav-bar" class="toolbar-primary chromeclass-toolbar"
795 toolbarname="&navbarCmd.label;" accesskey="&navbarCmd.accesskey;"
796 fullscreentoolbar="true" mode="icons" customizable="true"
798 iconsize="small" defaulticonsize="small"
799 defaultset="unified-back-forward-button,reload-button,stop-button,home-button,urlbar-container,search-container,bookmarks-menu-button-container,navigator-throbber,fullscreenflex,window-controls"
802 defaultset="unified-back-forward-button,reload-button,stop-button,home-button,urlbar-container,search-container,bookmarks-menu-button-container,fullscreenflex,window-controls"
804 context="toolbar-context-menu">
806 <toolbaritem id="unified-back-forward-button" class="chromeclass-toolbar-additional"
807 context="backForwardMenu" removable="true"
808 title="&backForwardItem.title;">
809 <toolbarbutton id="back-button" class="toolbarbutton-1"
810 label="&backCmd.label;"
811 command="Browser:BackOrBackDuplicate"
812 onclick="checkForMiddleClick(this, event);"
813 tooltiptext="&backButton.tooltip;"/>
814 <toolbarbutton id="forward-button" class="toolbarbutton-1"
815 label="&forwardCmd.label;"
816 command="Browser:ForwardOrForwardDuplicate"
817 onclick="checkForMiddleClick(this, event);"
818 tooltiptext="&forwardButton.tooltip;"/>
819 <toolbarbutton id="back-forward-dropmarker" type="menu"
820 disabled="true" tooltiptext="&backForwardMenu.tooltip;"
821 onbroadcast="if (this.disabled) this.disabled =
822 document.getElementById('Browser:Back').hasAttribute('disabled') &&
823 document.getElementById('Browser:Forward').hasAttribute('disabled');">
824 <!-- bug 415444: event.stopPropagation is here for the cloned version of
826 <menupopup context=""
827 position="after_start"
828 onpopupshowing="return FillHistoryMenu(event.target);"
829 oncommand="gotoHistoryIndex(event); event.stopPropagation();"
830 onclick="checkForMiddleClick(this, event);"/>
831 <observes element="Browser:Back" attribute="disabled"/>
832 <observes element="Browser:Forward" attribute="disabled"/>
836 <toolbarbutton id="reload-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
837 label="&reloadCmd.label;" removable="true"
838 command="Browser:ReloadOrDuplicate"
839 onclick="checkForMiddleClick(this, event);"
840 tooltiptext="&reloadButton.tooltip;"/>
842 <toolbarbutton id="stop-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
843 label="&stopCmd.label;" removable="true"
844 command="Browser:Stop"
845 tooltiptext="&stopButton.tooltip;"/>
847 <toolbarbutton id="home-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
848 persist="class" removable="true"
849 label="&homeButton.label;"
850 ondragover="homeButtonObserver.onDragOver(event)"
851 ondragenter="homeButtonObserver.onDragOver(event)"
852 ondrop="homeButtonObserver.onDrop(event)"
853 ondragleave="homeButtonObserver.onDragLeave(event)"
854 onclick="BrowserGoHome(event);"/>
856 <toolbaritem id="urlbar-container" align="center" flex="400" persist="width"
857 title="&locationItem.title;" class="chromeclass-location" removable="true">
858 <textbox id="urlbar" flex="1"
859 placeholder="&urlbar.placeholder;"
861 autocompletesearch="history"
862 autocompletesearchparam="enable-actions"
863 autocompletepopup="PopupAutoCompleteRichResult"
864 completeselectedindex="true"
866 showcommentcolumn="true"
867 showimagecolumn="true"
870 newlines="stripsurroundingwhitespace"
871 oninput="gBrowser.userTypedValue = this.value;"
872 ontextentered="this.handleCommand(param);"
873 ontextreverted="return this.handleRevert();"
874 pageproxystate="invalid"
875 onsearchbegin="LocationBarHelpers._searchBegin();"
876 onsearchcomplete="LocationBarHelpers._searchComplete();"
877 onfocus="document.getElementById('identity-box').style.MozUserFocus= 'normal'"
878 onblur="setTimeout(function() document.getElementById('identity-box').style.MozUserFocus = '', 0);">
879 <box id="notification-popup-box" hidden="true" align="center">
880 <image id="geo-notification-icon" class="notification-anchor-icon" role="button"/>
881 <image id="addons-notification-icon" class="notification-anchor-icon" role="button"/>
883 <!-- Use onclick instead of normal popup= syntax since the popup
884 code fires onmousedown, and hence eats our favicon drag events.
885 We only add the identity-box button to the tab order when the location bar
886 has focus, otherwise pressing F6 focuses it instead of the location bar -->
887 <box id="identity-box" role="button"
888 onclick="gIdentityHandler.handleIdentityButtonEvent(event);"
889 onkeypress="gIdentityHandler.handleIdentityButtonEvent(event);">
890 <hbox id="identity-box-inner" align="center">
891 <stack id="page-proxy-stack"
892 onclick="PageProxyClickHandler(event);">
893 <image id="urlbar-throbber" busy="false"/>
894 <image id="page-proxy-favicon" validate="never"
895 pageproxystate="invalid"
896 ondragstart="proxyIconDNDObserver.onDragStart(event);"
897 onerror="this.removeAttribute('src');"/>
899 <hbox id="identity-icon-labels">
900 <label id="identity-icon-label" class="plain" flex="1"/>
901 <label id="identity-icon-country-label" class="plain"/>
905 <label id="urlbar-display" value="&urlbar.switchToTab.label;"/>
906 <hbox id="urlbar-icons">
908 style="-moz-user-focus: none"
909 class="plain urlbar-icon"
912 tooltiptext="&feedButton.tooltip;"
913 onclick="return FeedHandler.onFeedButtonClick(event);">
914 <menupopup position="after_end"
916 onpopupshowing="return FeedHandler.buildFeedList(this);"
917 oncommand="return FeedHandler.subscribeToFeed(null, event);"
918 onclick="checkForMiddleClick(this, event);"/>
920 <image id="star-button"
922 onclick="PlacesStarButton.onClick(event);"/>
923 <image id="go-button"
925 tooltiptext="&goEndCap.tooltip;"
926 onclick="gURLBar.handleCommand(event);"/>
931 <toolbaritem id="search-container" title="&searchItem.title;"
932 align="center" class="chromeclass-toolbar-additional"
933 flex="100" persist="width" removable="true">
934 <searchbar id="searchbar" flex="1"/>
937 <toolbaritem id="bookmarks-menu-button-container"
938 class="chromeclass-toolbar-additional"
940 title="&bookmarksMenuButton.label;">
941 <toolbarbutton id="bookmarks-menu-button"
943 class="toolbarbutton-1"
944 label="&bookmarksMenuButton.label;"
945 tooltiptext="&bookmarksMenuButton.tooltip;"
946 ondragenter="PlacesMenuDNDHandler.onDragEnter(event);"
947 ondragover="PlacesMenuDNDHandler.onDragOver(event);"
948 ondragleave="PlacesMenuDNDHandler.onDragLeave(event);"
949 ondrop="PlacesMenuDNDHandler.onDrop(event);">
950 <menupopup id="BMB_bookmarksPopup"
952 context="placesContext"
953 openInTabs="children"
954 oncommand="BookmarksEventHandler.onCommand(event);"
955 onclick="BookmarksEventHandler.onClick(event);"
956 onpopupshowing="BookmarksMenuButton.onPopupShowing(event);
957 if (!this.parentNode._placesView)
958 new PlacesMenu(event, 'place:folder=BOOKMARKS_MENU');"
959 tooltip="bhTooltip" popupsinherittooltip="true">
960 <menuitem id="BMB_bookmarkAllTabs"
961 label="&addCurPagesCmd.label;"
962 command="Browser:BookmarkAllTabs"
963 key="bookmarkAllTabsKb"/>
964 <menuitem id="BMB_bookmarksShowAll"
965 label="&organizeBookmarks.label;"
966 command="Browser:ShowAllBookmarks"
967 key="manBookmarkKb"/>
969 <menuitem id="BMB_viewBookmarksToolbar"
971 oncommand="onViewToolbarCommand(event)"
972 label="&viewBookmarksToolbar.label;"/>
973 <menuitem id="BMB_viewBookmarksSidebar"
974 label="&viewBookmarksSidebar.label;"
976 oncommand="toggleSidebar('viewBookmarksSidebar');"
977 key="viewBookmarksSidebarKb">
978 <observes element="viewBookmarksSidebar" attribute="checked"/>
981 <menu id="BMB_bookmarksToolbarFolderMenu"
982 class="menu-iconic bookmark-item"
983 label="&personalbarCmd.label;"
985 <menupopup id="BMB_bookmarksToolbarFolderPopup"
987 context="placesContext"
988 onpopupshowing="if (!this.parentNode._placesView)
989 new PlacesMenu(event, 'place:folder=TOOLBAR');"/>
991 <menu id="BMB_unsortedBookmarksFolderMenu"
992 class="menu-iconic bookmark-item"
994 <menupopup id="BMB_unsortedBookmarksFolderPopup"
996 context="placesContext"
997 onpopupshowing="if (!this.parentNode._placesView)
998 new PlacesMenu(event, 'place:folder=UNFILED_BOOKMARKS');"/>
1005 <hbox id="fullscreenflex" flex="1" hidden="true" fullscreencontrol="true"/>
1006 <hbox id="window-controls" hidden="true" fullscreencontrol="true">
1007 <toolbarbutton id="minimize-button"
1008 tooltiptext="&fullScreenMinimize.tooltip;"
1009 oncommand="window.minimize();"/>
1011 <toolbarbutton id="restore-button"
1012 tooltiptext="&fullScreenRestore.tooltip;"
1013 oncommand="BrowserFullScreen();"/>
1015 <toolbarbutton id="close-button"
1016 tooltiptext="&fullScreenClose.tooltip;"
1017 oncommand="BrowserTryToCloseWindow();"/>
1021 <toolbarset id="customToolbars" context="toolbar-context-menu"/>
1023 <toolbar id="PersonalToolbar"
1024 mode="icons" iconsize="small" defaulticonsize="small"
1026 class="chromeclass-directories"
1027 context="toolbar-context-menu"
1028 defaultset="personal-bookmarks"
1029 toolbarname="&personalbarCmd.label;" accesskey="&personalbarCmd.accesskey;"
1031 customizable="true">
1032 <toolbaritem flex="1" id="personal-bookmarks" title="&bookmarksItem.title;"
1036 context="placesContext"
1037 onclick="BookmarksEventHandler.onClick(event);"
1038 oncommand="BookmarksEventHandler.onCommand(event);"
1040 popupsinherittooltip="true">
1041 <toolbarbutton class="bookmark-item bookmarks-toolbar-customize"
1042 mousethrough="never"
1043 label="&bookmarksToolbarItem.label;"/>
1045 <hbox align="center">
1046 <image id="PlacesToolbarDropIndicator"
1047 mousethrough="always"
1050 <scrollbox orient="horizontal"
1051 id="PlacesToolbarItems"
1053 <toolbarbutton type="menu"
1056 mousethrough="never"
1058 tooltiptext="&bookmarksToolbarChevron.tooltip;"
1059 onpopupshowing="document.getElementById('PlacesToolbar')
1060 ._placesView._onChevronPopupShowing(event);">
1061 <menupopup id="PlacesChevronPopup"
1063 tooltip="bhTooltip" popupsinherittooltip="true"
1064 context="placesContext"/>
1071 <toolbar id="TabsToolbar"
1072 fullscreentoolbar="true"
1074 mode="icons" lockmode="true"
1075 iconsize="small" defaulticonsize="small" lockiconsize="true"
1076 aria-label="&tabsToolbar.label;"
1077 context="toolbar-context-menu"
1078 defaultset="tabbrowser-tabs,new-tab-button,tabview-button,alltabs-button,tabs-closebutton"
1081 <tabs id="tabbrowser-tabs"
1082 class="tabbrowser-tabs"
1083 tabbrowser="content"
1086 tooltip="tabbrowser-tab-tooltip">
1087 <tab class="tabbrowser-tab" selected="true" fadein="true"/>
1090 <toolbarbutton id="new-tab-button"
1091 class="toolbarbutton-1 chromeclass-toolbar-additional"
1092 label="&tabCmd.label;"
1093 command="cmd_newNavigatorTab"
1094 onclick="checkForMiddleClick(this, event);"
1095 tooltiptext="&newTabButton.tooltip;"
1096 ondrop="newTabButtonObserver.onDrop(event)"
1097 ondragover="newTabButtonObserver.onDragOver(event)"
1098 ondragenter="newTabButtonObserver.onDragOver(event)"
1099 ondragleave="newTabButtonObserver.onDragLeave(event)"
1102 <toolbarbutton id="alltabs-button"
1103 class="toolbarbutton-1 chromeclass-toolbar-additional tabs-alltabs-button"
1105 label="&listAllTabs.label;"
1106 tooltiptext="&listAllTabs.label;"
1108 <menupopup id="alltabs-popup"
1109 position="after_end"/>
1112 <toolbarbutton id="tabview-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
1113 label="&tabViewButton2.label;"
1114 command="Browser:ToggleTabView"
1115 tooltiptext="&tabViewButton2.tooltip;"
1118 <toolbarbutton id="tabs-closebutton"
1119 class="close-button tabs-closebutton"
1121 label="&closeTab.label;"
1122 tooltiptext="&closeTab.label;"/>
1126 <toolbarpalette id="BrowserToolbarPalette">
1128 # Update primaryToolbarButtons in browser/themes/browserShared.inc when adding
1129 # or removing default items with the toolbarbutton-1 class.
1131 <toolbarbutton id="print-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
1132 label="&printButton.label;" command="cmd_print"
1133 tooltiptext="&printButton.tooltip;"/>
1135 <toolbaritem id="navigator-throbber" title="&throbberItem.title;" align="center" pack="center"
1136 mousethrough="always">
1140 <toolbarbutton id="downloads-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
1141 observes="Tools:Downloads"
1142 ondrop="DownloadsButtonDNDObserver.onDrop(event)"
1143 ondragover="DownloadsButtonDNDObserver.onDragOver(event)"
1144 ondragenter="DownloadsButtonDNDObserver.onDragOver(event)"
1145 ondragleave="DownloadsButtonDNDObserver.onDragLeave(event)"
1146 label="&downloads.label;"
1147 tooltiptext="&downloads.tooltip;"/>
1149 <toolbarbutton id="history-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
1150 observes="viewHistorySidebar" label="&historyButton.label;"
1151 tooltiptext="&historyButton.tooltip;"/>
1153 <toolbarbutton id="bookmarks-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
1154 observes="viewBookmarksSidebar"
1155 tooltiptext="&bookmarksButton.tooltip;"
1156 ondrop="bookmarksButtonObserver.onDrop(event)"
1157 ondragover="bookmarksButtonObserver.onDragOver(event)"
1158 ondragenter="bookmarksButtonObserver.onDragOver(event)"
1159 ondragleave="bookmarksButtonObserver.onDragLeave(event)"/>
1161 <toolbarbutton id="new-window-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
1162 label="&newNavigatorCmd.label;"
1163 command="key_newNavigator"
1164 tooltiptext="&newWindowButton.tooltip;"
1165 ondrop="newWindowButtonObserver.onDrop(event)"
1166 ondragover="newWindowButtonObserver.onDragOver(event)"
1167 ondragenter="newWindowButtonObserver.onDragOver(event)"
1168 ondragleave="newWindowButtonObserver.onDragLeave(event)"/>
1170 <toolbarbutton id="cut-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
1171 label="&cutCmd.label;"
1173 tooltiptext="&cutButton.tooltip;"/>
1175 <toolbarbutton id="copy-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
1176 label="©Cmd.label;"
1178 tooltiptext="©Button.tooltip;"/>
1180 <toolbarbutton id="paste-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
1181 label="&pasteCmd.label;"
1183 tooltiptext="&pasteButton.tooltip;"/>
1185 <toolbarbutton id="fullscreen-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
1186 observes="View:FullScreen"
1188 label="&fullScreenCmd.label;"
1189 tooltiptext="&fullScreenButton.tooltip;"/>
1194 <hbox flex="1" id="browser">
1195 <vbox id="sidebar-box" hidden="true" class="chromeclass-extrachrome">
1196 <sidebarheader id="sidebar-header" align="center">
1197 <label id="sidebar-title" persist="value" flex="1" crop="end" control="sidebar"/>
1198 <image id="sidebar-throbber"/>
1199 <toolbarbutton class="tabs-closebutton" tooltiptext="&sidebarCloseButton.tooltip;" oncommand="toggleSidebar();"/>
1201 <browser id="sidebar" flex="1" autoscroll="false" disablehistory="true"
1202 style="min-width: 14em; width: 18em; max-width: 36em;"/>
1205 <splitter id="sidebar-splitter" class="chromeclass-extrachrome" hidden="true"/>
1206 <vbox id="appcontent" flex="1">
1207 <tabbrowser id="content" disablehistory="true"
1208 flex="1" contenttooltip="aHTMLTooltip"
1209 tabcontainer="tabbrowser-tabs"
1210 contentcontextmenu="contentAreaContextMenu"
1211 autocompletepopup="PopupAutoComplete"
1212 onclick="return contentAreaClick(event, false);"/>
1216 <vbox id="browser-bottombox">
1217 <statusbar class="chromeclass-status" id="status-bar"
1222 <statusbarpanel id="statusbar-display" label="" flex="1"/>
1223 <statusbarpanel class="statusbarpanel-progress" collapsed="true" id="statusbar-progresspanel">
1224 <progressmeter class="progressmeter-statusbar" id="statusbar-icon" mode="normal" value="0"/>
1226 <statusbarpanel id="download-monitor" class="statusbarpanel-iconic-text"
1227 tooltiptext="&downloadMonitor2.tooltip;" hidden="true"
1228 command="Tools:Downloads"/>
1229 <statusbarpanel id="security-button" class="statusbarpanel-iconic"
1231 onclick="if (event.button == 0 && event.detail == 1) displaySecurityInfo();"/>
1232 #ifdef MOZ_SERVICES_SYNC
1233 <statusbarpanel id="sync-status-button"
1234 class="statusbarpanel-iconic"
1235 image="chrome://browser/skin/sync-16.png"
1236 label="&syncLogInItem.label;"
1237 oncommand="gSyncUI.handleStatusbarButton();"
1238 onmousedown="event.preventDefault();">
1240 <separator class="thin"/>
1241 <statusbarpanel id="sync-notifications-button"
1242 class="statusbarpanel-iconic-text"
1244 popup="sync-notifications-panel">
1246 <panel id="sync-notifications-panel" position="before_end">
1247 <notificationbox id="sync-notifications-box"/>
1250 <statusbarpanel id="page-report-button" type="menu"
1251 class="statusbarpanel-menu-iconic"
1253 tooltiptext="&pageReportIcon.tooltip;">
1254 <menupopup onpopupshowing="gPopupBlockerObserver.fillPopupList(event);">
1255 <menuitem observes="blockedPopupAllowSite"/>
1256 <menuitem observes="blockedPopupEditSettings"/>
1257 <menuitem observes="blockedPopupDontShowMessage"/>
1258 <menuseparator observes="blockedPopupsSeparator"/>
1264 <svg:svg height="0">
1265 <svg:mask id="winstripe-keyhole-forward-mask" maskContentUnits="objectBoundingBox">
1266 <svg:rect x="0" y="0" width="1" height="1" fill="white"/>
1267 <svg:circle cx="-0.46" cy="0.5" r="0.63"/>
1269 <svg:mask id="winstripe-keyhole-forward-mask-hover" maskContentUnits="objectBoundingBox">
1270 <svg:rect x="0" y="0" width="1" height="1" fill="white"/>
1271 <svg:circle cx="-0.35" cy="0.5" r="0.58"/>
1277 # <iframe id="tab-view"> is dynamically appended as the 2nd child of #tab-view-deck.
1278 # Introducing the iframe dynamically, as needed, was found to be better than
1279 # starting with an empty iframe here in browser.xul from a Ts standpoint.