Bumping manifests a=b2g-bump
[gecko.git] / browser / base / content / browser-menubar.inc
blobd15c0450baccb25900981e5f60271f7be94917ed
1 # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6        <menubar id="main-menubar"
7                 onpopupshowing="if (event.target.parentNode.parentNode == this &amp;&amp;
8                                     !('@mozilla.org/widget/nativemenuservice;1' in Cc))
9                                   this.setAttribute('openedwithkey',
10                                                     event.target.parentNode.openedWithKey);"
11                 style="border:0px;padding:0px;margin:0px;-moz-appearance:none">
12             <menu id="file-menu" label="&fileMenu.label;"
13                   accesskey="&fileMenu.accesskey;">
14               <menupopup id="menu_FilePopup">
15                 <menuitem id="menu_newNavigatorTab"
16                           label="&tabCmd.label;"
17                           command="cmd_newNavigatorTab"
18                           key="key_newNavigatorTab"
19                           accesskey="&tabCmd.accesskey;"/>
20                 <menuitem id="menu_newNavigator"
21                           label="&newNavigatorCmd.label;"
22                           accesskey="&newNavigatorCmd.accesskey;"
23                           key="key_newNavigator"
24                           command="cmd_newNavigator"/>
25                 <menuitem id="menu_newPrivateWindow"
26                           label="&newPrivateWindow.label;"
27                           accesskey="&newPrivateWindow.accesskey;"
28                           command="Tools:PrivateBrowsing"
29                           key="key_privatebrowsing"/>
30 #ifdef E10S_TESTING_ONLY
31                 <menuitem id="menu_newRemoteWindow"
32                           label="New e10s Window"
33                           hidden="true"
34                           command="Tools:RemoteWindow"/>
35                 <menuitem id="menu_newNonRemoteWindow"
36                           label="New Non-e10s Window"
37                           hidden="true"
38                           command="Tools:NonRemoteWindow"/>
39 #endif
40 #ifdef MAC_NON_BROWSER_WINDOW
41                 <menuitem id="menu_openLocation"
42                           label="&openLocationCmd.label;"
43                           command="Browser:OpenLocation"
44                           key="focusURLBar"/>
45 #endif
46                 <menuitem id="menu_openFile"
47                           label="&openFileCmd.label;"
48                           command="Browser:OpenFile"
49                           key="openFileKb"
50                           accesskey="&openFileCmd.accesskey;"/>
51 #ifdef HAVE_SHELL_SERVICE
52 #ifdef XP_WIN
53 #ifdef MOZ_METRO
54                 <menuitem id="menu_switchToMetro"
55                           label="&switchToMetroCmd2.label;"
56                           oncommand="SwitchToMetro()"/>
57 #endif
58 #endif
59 #endif
60                 <menuitem id="menu_close"
61                           class="show-only-for-keyboard"
62                           label="&closeCmd.label;"
63                           key="key_close"
64                           accesskey="&closeCmd.accesskey;"
65                           command="cmd_close"/>
66                 <menuitem id="menu_closeWindow"
67                           class="show-only-for-keyboard"
68                           hidden="true"
69                           command="cmd_closeWindow"
70                           key="key_closeWindow"
71                           label="&closeWindow.label;"
72                           accesskey="&closeWindow.accesskey;"/>
73                 <menuseparator/>
74                 <menuitem id="menu_savePage"
75                           label="&savePageCmd.label;"
76                           accesskey="&savePageCmd.accesskey;"
77                           key="key_savePage"
78                           command="Browser:SavePage"/>
79                 <menuitem id="menu_sendLink"
80                           label="&emailPageCmd.label;"
81                           accesskey="&emailPageCmd.accesskey;"
82                           command="Browser:SendLink"/>
83                 <menuseparator/>
84 #if !defined(MOZ_WIDGET_GTK) && !defined(MOZ_WIDGET_QT)
85                 <menuitem id="menu_printSetup"
86                           label="&printSetupCmd.label;"
87                           accesskey="&printSetupCmd.accesskey;"
88                           command="cmd_pageSetup"/>
89 #endif
90 #ifndef XP_MACOSX
91                 <menuitem id="menu_printPreview"
92                           label="&printPreviewCmd.label;"
93                           accesskey="&printPreviewCmd.accesskey;"
94                           command="cmd_printPreview"/>
95 #endif
96                 <menuitem id="menu_print"
97                           label="&printCmd.label;"
98                           accesskey="&printCmd.accesskey;"
99                           key="printKb"
100                           command="cmd_print"/>
101                 <menuseparator/>
102                 <menuitem id="goOfflineMenuitem"
103                           label="&goOfflineCmd.label;"
104                           accesskey="&goOfflineCmd.accesskey;"
105                           type="checkbox"
106                           observes="workOfflineMenuitemState"
107                           oncommand="BrowserOffline.toggleOfflineStatus();"/>
108                 <menuitem id="menu_FileQuitItem"
109 #ifdef XP_WIN
110                           label="&quitApplicationCmdWin.label;"
111                           accesskey="&quitApplicationCmdWin.accesskey;"
112 #else
113 #ifdef XP_MACOSX
114                           label="&quitApplicationCmdMac.label;"
115 #else
116                           label="&quitApplicationCmd.label;"
117                           accesskey="&quitApplicationCmd.accesskey;"
118 #endif
119 #ifdef XP_UNIX
120                           key="key_quitApplication"
121 #endif
122 #endif
123                           command="cmd_quitApplication"/>
124               </menupopup>
125             </menu>
127             <menu id="edit-menu" label="&editMenu.label;"
128                   accesskey="&editMenu.accesskey;">
129               <menupopup id="menu_EditPopup"
130                          onpopupshowing="updateEditUIVisibility()"
131                          onpopuphidden="updateEditUIVisibility()">
132                 <menuitem id="menu_undo"
133                           label="&undoCmd.label;"
134                           key="key_undo"
135                           accesskey="&undoCmd.accesskey;"
136                           command="cmd_undo"/>
137                 <menuitem id="menu_redo"
138                           label="&redoCmd.label;"
139                           key="key_redo"
140                           accesskey="&redoCmd.accesskey;"
141                           command="cmd_redo"/>
142                 <menuseparator/>
143                 <menuitem id="menu_cut"
144                           label="&cutCmd.label;"
145                           key="key_cut"
146                           accesskey="&cutCmd.accesskey;"
147                           command="cmd_cut"/>
148                 <menuitem id="menu_copy"
149                           label="&copyCmd.label;"
150                           key="key_copy"
151                           accesskey="&copyCmd.accesskey;"
152                           command="cmd_copy"/>
153                 <menuitem id="menu_paste"
154                           label="&pasteCmd.label;"
155                           key="key_paste"
156                           accesskey="&pasteCmd.accesskey;"
157                           command="cmd_paste"/>
158                 <menuitem id="menu_delete"
159                           label="&deleteCmd.label;"
160                           key="key_delete"
161                           accesskey="&deleteCmd.accesskey;"
162                           command="cmd_delete"/>
163                 <menuseparator/>
164                 <menuitem id="menu_selectAll"
165                           label="&selectAllCmd.label;"
166                           key="key_selectAll"
167                           accesskey="&selectAllCmd.accesskey;"
168                           command="cmd_selectAll"/>
169                 <menuseparator/>
170                 <menuitem id="menu_find"
171                           label="&findOnCmd.label;"
172                           accesskey="&findOnCmd.accesskey;"
173                           key="key_find"
174                           command="cmd_find"/>
175                 <menuitem id="menu_findAgain"
176                           class="show-only-for-keyboard"
177                           label="&findAgainCmd.label;"
178                           accesskey="&findAgainCmd.accesskey;"
179                           key="key_findAgain"
180                           command="cmd_findAgain"/>
181                 <menuseparator hidden="true" id="textfieldDirection-separator"/>
182                 <menuitem id="textfieldDirection-swap"
183                           command="cmd_switchTextDirection"
184                           key="key_switchTextDirection"
185                           label="&bidiSwitchTextDirectionItem.label;"
186                           accesskey="&bidiSwitchTextDirectionItem.accesskey;"
187                           hidden="true"/>
188 #ifdef XP_UNIX
189 #ifndef XP_MACOSX
190                 <menuseparator/>
191                 <menuitem id="menu_preferences"
192                           label="&preferencesCmdUnix.label;"
193                           accesskey="&preferencesCmdUnix.accesskey;"
194                           oncommand="openPreferences();"/>
195 #endif
196 #endif
197               </menupopup>
198             </menu>
200             <menu id="view-menu" label="&viewMenu.label;"
201                   accesskey="&viewMenu.accesskey;">
202               <menupopup id="menu_viewPopup"
203                          onpopupshowing="updateCharacterEncodingMenuState();">
204                 <menu id="viewToolbarsMenu"
205                       label="&viewToolbarsMenu.label;"
206                       accesskey="&viewToolbarsMenu.accesskey;">
207                   <menupopup onpopupshowing="onViewToolbarsPopupShowing(event);">
208                     <menuseparator/>
209                     <menuitem id="menu_customizeToolbars"
210                               label="&viewCustomizeToolbar.label;"
211                               accesskey="&viewCustomizeToolbar.accesskey;"
212                               command="cmd_CustomizeToolbars"/>
213                   </menupopup>
214                 </menu>
215                 <menu id="viewSidebarMenuMenu"
216                       label="&viewSidebarMenu.label;"
217                       accesskey="&viewSidebarMenu.accesskey;">
218                   <menupopup id="viewSidebarMenu">
219                     <menuitem id="menu_bookmarksSidebar"
220                               key="viewBookmarksSidebarKb"
221                               observes="viewBookmarksSidebar"/>
222                     <menuitem id="menu_historySidebar"
223                               key="key_gotoHistory"
224                               observes="viewHistorySidebar"
225                               label="&historyButton.label;"/>
226                     <!-- Service providers with sidebars are inserted between these two menuseperators -->
227                     <menuseparator hidden="true"/>
228                     <menuseparator class="social-provider-menu" hidden="true"/>
229                   </menupopup>
230                 </menu>
231                 <menuseparator/>
232                 <menu id="viewFullZoomMenu" label="&fullZoom.label;"
233                       accesskey="&fullZoom.accesskey;"
234                       onpopupshowing="FullZoom.updateMenu();">
235                   <menupopup>
236                     <menuitem id="menu_zoomEnlarge"
237                               key="key_fullZoomEnlarge"
238                               label="&fullZoomEnlargeCmd.label;"
239                               accesskey="&fullZoomEnlargeCmd.accesskey;"
240                               command="cmd_fullZoomEnlarge"/>
241                     <menuitem id="menu_zoomReduce"
242                               key="key_fullZoomReduce"
243                               label="&fullZoomReduceCmd.label;"
244                               accesskey="&fullZoomReduceCmd.accesskey;"
245                               command="cmd_fullZoomReduce"/>
246                     <menuseparator/>
247                     <menuitem id="menu_zoomReset"
248                               key="key_fullZoomReset"
249                               label="&fullZoomResetCmd.label;"
250                               accesskey="&fullZoomResetCmd.accesskey;"
251                               command="cmd_fullZoomReset"/>
252                     <menuseparator/>
253                     <menuitem id="toggle_zoom"
254                               label="&fullZoomToggleCmd.label;"
255                               accesskey="&fullZoomToggleCmd.accesskey;"
256                               type="checkbox"
257                               command="cmd_fullZoomToggle"
258                               checked="false"/>
259                   </menupopup>
260                 </menu>
261                 <menu id="pageStyleMenu" label="&pageStyleMenu.label;"
262                       accesskey="&pageStyleMenu.accesskey;" observes="isImage">
263                   <menupopup onpopupshowing="gPageStyleMenu.fillPopup(this);">
264                     <menuitem id="menu_pageStyleNoStyle"
265                               label="&pageStyleNoStyle.label;"
266                               accesskey="&pageStyleNoStyle.accesskey;"
267                               oncommand="gPageStyleMenu.disableStyle();"
268                               type="radio"/>
269                     <menuitem id="menu_pageStylePersistentOnly"
270                               label="&pageStylePersistentOnly.label;"
271                               accesskey="&pageStylePersistentOnly.accesskey;"
272                               oncommand="gPageStyleMenu.switchStyleSheet('');"
273                               type="radio"
274                               checked="true"/>
275                     <menuseparator/>
276                   </menupopup>
277                 </menu>
278 #include browser-charsetmenu.inc
279                 <menuseparator/>
280 #ifdef XP_MACOSX
281                 <menuitem id="enterFullScreenItem"
282                           accesskey="&enterFullScreenCmd.accesskey;"
283                           label="&enterFullScreenCmd.label;"
284                           key="key_fullScreen">
285                   <observes element="View:FullScreen" attribute="oncommand"/>
286                   <observes element="View:FullScreen" attribute="disabled"/>
287                 </menuitem>
288                 <menuitem id="exitFullScreenItem"
289                           accesskey="&exitFullScreenCmd.accesskey;"
290                           label="&exitFullScreenCmd.label;"
291                           key="key_fullScreen"
292                           hidden="true">
293                   <observes element="View:FullScreen" attribute="oncommand"/>
294                   <observes element="View:FullScreen" attribute="disabled"/>
295                 </menuitem>
296 #else
297                 <menuitem id="fullScreenItem"
298                           accesskey="&fullScreenCmd.accesskey;"
299                           label="&fullScreenCmd.label;"
300                           key="key_fullScreen"
301                           type="checkbox"
302                           observes="View:FullScreen"/>
303 #endif
304                 <menuitem id="menu_showAllTabs"
305                           hidden="true"
306                           accesskey="&showAllTabsCmd.accesskey;"
307                           label="&showAllTabsCmd.label;"
308                           command="Browser:ShowAllTabs"
309                           key="key_showAllTabs"/>
310                 <menuseparator hidden="true" id="documentDirection-separator"/>
311                 <menuitem id="documentDirection-swap"
312                           hidden="true"
313                           label="&bidiSwitchPageDirectionItem.label;"
314                           accesskey="&bidiSwitchPageDirectionItem.accesskey;"
315                           oncommand="SwitchDocumentDirection(window.content)"/>
316               </menupopup>
317             </menu>
319             <menu id="history-menu"
320                   label="&historyMenu.label;"
321                   accesskey="&historyMenu.accesskey;">
322               <menupopup id="goPopup"
323 #ifndef XP_MACOSX
324                          placespopup="true"
325 #endif
326                          oncommand="this.parentNode._placesView._onCommand(event);"
327                          onclick="checkForMiddleClick(this, event);"
328                          onpopupshowing="if (!this.parentNode._placesView)
329                                            new HistoryMenu(event);"
330                          tooltip="bhTooltip"
331                          popupsinherittooltip="true">
332                 <menuitem id="menu_showAllHistory"
333                           label="&showAllHistoryCmd2.label;"
334 #ifndef XP_MACOSX
335                           key="showAllHistoryKb"
336 #endif
337                           command="Browser:ShowAllHistory"/>
338                 <menuitem id="sanitizeItem"
339                           label="&clearRecentHistory.label;"
340                           key="key_sanitize"
341                           command="Tools:Sanitize"/>
342                 <menuseparator id="sanitizeSeparator"/>
343 #ifdef MOZ_SERVICES_SYNC
344                 <menuitem id="sync-tabs-menuitem"
345                           class="syncTabsMenuItem"
346                           label="&syncTabsMenu2.label;"
347                           oncommand="BrowserOpenSyncTabs();"
348                           disabled="true"/>
349 #endif
350                 <menuitem id="historyRestoreLastSession"
351                           label="&historyRestoreLastSession.label;"
352                           command="Browser:RestoreLastSession"/>
353                 <menu id="historyUndoMenu"
354                       class="recentlyClosedTabsMenu"
355                       label="&historyUndoMenu.label;"
356                       disabled="true">
357                   <menupopup id="historyUndoPopup"
358 #ifndef XP_MACOSX
359                              placespopup="true"
360 #endif
361                              onpopupshowing="document.getElementById('history-menu')._placesView.populateUndoSubmenu();"/>
362                 </menu>
363                 <menu id="historyUndoWindowMenu"
364                       class="recentlyClosedWindowsMenu"
365                       label="&historyUndoWindowMenu.label;"
366                       disabled="true">
367                   <menupopup id="historyUndoWindowPopup"
368 #ifndef XP_MACOSX
369                              placespopup="true"
370 #endif
371                              onpopupshowing="document.getElementById('history-menu')._placesView.populateUndoWindowSubmenu();"/>
372                 </menu>
373                 <menuseparator id="startHistorySeparator"
374                                class="hide-if-empty-places-result"/>
375               </menupopup>
376             </menu>
378   <menu id="bookmarksMenu"
379         label="&bookmarksMenu.label;"
380         accesskey="&bookmarksMenu.accesskey;"
381         ondragenter="PlacesMenuDNDHandler.onDragEnter(event);"
382         ondragover="PlacesMenuDNDHandler.onDragOver(event);"
383         ondrop="PlacesMenuDNDHandler.onDrop(event);">
384     <menupopup id="bookmarksMenuPopup"
385 #ifndef XP_MACOSX
386                placespopup="true"
387 #endif
388                context="placesContext"
389                openInTabs="children"
390                oncommand="BookmarksEventHandler.onCommand(event, this.parentNode._placesView);"
391                onclick="BookmarksEventHandler.onClick(event, this.parentNode._placesView);"
392                onpopupshowing="BookmarkingUI.onMainMenuPopupShowing(event);
393                                if (!this.parentNode._placesView)
394                                  new PlacesMenu(event, 'place:folder=BOOKMARKS_MENU');"
395                tooltip="bhTooltip" popupsinherittooltip="true">
396       <menuitem id="bookmarksShowAll"
397                 label="&showAllBookmarks2.label;"
398                 command="Browser:ShowAllBookmarks"
399                 key="manBookmarkKb"/>
400       <menuseparator id="organizeBookmarksSeparator"/>
401       <menuitem id="menu_bookmarkThisPage"
402                 command="Browser:AddBookmarkAs"
403                 observes="bookmarkThisPageBroadcaster"
404                 key="addBookmarkAsKb"/>
405       <menuitem id="subscribeToPageMenuitem"
406 #ifndef XP_MACOSX
407                 class="menuitem-iconic"
408 #endif
409                 label="&subscribeToPageMenuitem.label;"
410                 oncommand="return FeedHandler.subscribeToFeed(null, event);"
411                 onclick="checkForMiddleClick(this, event);"
412                 observes="singleFeedMenuitemState"/>
413       <menu id="subscribeToPageMenupopup"
414 #ifndef XP_MACOSX
415             class="menu-iconic"
416 #endif
417             label="&subscribeToPageMenupopup.label;"
418             observes="multipleFeedsMenuState">
419         <menupopup id="subscribeToPageSubmenuMenupopup"
420                    onpopupshowing="return FeedHandler.buildFeedList(event.target);"
421                    oncommand="return FeedHandler.subscribeToFeed(null, event);"
422                    onclick="checkForMiddleClick(this, event);"/>
423       </menu>
424       <menuitem id="menu_bookmarkAllTabs"
425                 label="&addCurPagesCmd.label;"
426                 class="show-only-for-keyboard"
427                 command="Browser:BookmarkAllTabs"
428                 key="bookmarkAllTabsKb"/>
429       <menuseparator id="bookmarksToolbarSeparator"/>
430       <menu id="bookmarksToolbarFolderMenu"
431             class="menu-iconic bookmark-item"
432             label="&personalbarCmd.label;"
433             container="true">
434         <menupopup id="bookmarksToolbarFolderPopup"
435 #ifndef XP_MACOSX
436                    placespopup="true"
437 #endif
438                    context="placesContext"
439                    onpopupshowing="if (!this.parentNode._placesView)
440                                      new PlacesMenu(event, 'place:folder=TOOLBAR');"/>
441       </menu>
442       <menuseparator id="bookmarksMenuItemsSeparator"/>
443       <!-- Bookmarks menu items -->
444       <menuseparator builder="end"
445                      class="hide-if-empty-places-result"/>
446       <menuitem id="menu_unsortedBookmarks"
447                 label="&unsortedBookmarksCmd.label;"
448                 oncommand="PlacesCommandHook.showPlacesOrganizer('UnfiledBookmarks');"/>
449     </menupopup>
450   </menu>
452             <menu id="tools-menu"
453                   label="&toolsMenu.label;"
454                   accesskey="&toolsMenu.accesskey;">
455               <menupopup id="menu_ToolsPopup"
456 #ifdef MOZ_SERVICES_SYNC
457 # We have to use setTimeout() here to avoid a flickering menu bar when opening
458 # the Tools menu, see bug 970769. This can be removed once we got rid of the
459 # event loop spinning in Weave.Status._authManager.
460                          onpopupshowing="setTimeout(() => gSyncUI.updateUI());"
461 #endif
462                          >
463               <menuitem id="menu_openDownloads"
464                         label="&downloads.label;"
465                         accesskey="&downloads.accesskey;"
466                         key="key_openDownloads"
467                         command="Tools:Downloads"/>
468               <menuitem id="menu_openAddons"
469                         label="&addons.label;"
470                         accesskey="&addons.accesskey;"
471                         key="key_openAddons"
472                         command="Tools:Addons"/>
473 #ifdef MOZ_SERVICES_SYNC
474               <!-- only one of sync-setup or sync-menu will be showing at once -->
475               <menuitem id="sync-setup"
476                         label="&syncSetup.label;"
477                         accesskey="&syncSetup.accesskey;"
478                         observes="sync-setup-state"
479                         oncommand="gSyncUI.openSetup()"/>
480               <menuitem id="sync-syncnowitem"
481                         label="&syncSyncNowItem.label;"
482                         accesskey="&syncSyncNowItem.accesskey;"
483                         observes="sync-syncnow-state"
484                         oncommand="gSyncUI.doSync(event);"/>
485               <menuitem id="sync-reauthitem"
486                         label="&syncReAuthItem.label;"
487                         accesskey="&syncReAuthItem.accesskey;"
488                         observes="sync-reauth-state"
489                         oncommand="gSyncUI.openSignInAgainPage();"/>
490 #endif
491               <menuseparator id="devToolsSeparator"/>
492               <menu id="webDeveloperMenu"
493                     label="&webDeveloperMenu.label;"
494                     accesskey="&webDeveloperMenu.accesskey;">
495                 <menupopup id="menuWebDeveloperPopup">
496                   <menuitem id="menu_devToolbox"
497                             observes="devtoolsMenuBroadcaster_DevToolbox"
498                             accesskey="&devToolboxMenuItem.accesskey;"/>
499                   <menuseparator id="menu_devtools_separator"/>
500                   <menuitem id="menu_devToolbar"
501                             observes="devtoolsMenuBroadcaster_DevToolbar"
502                             accesskey="&devToolbarMenu.accesskey;"/>
503                   <menuitem id="menu_devAppMgr"
504                             observes="devtoolsMenuBroadcaster_DevAppMgr"
505                             accesskey="&devAppMgrMenu.accesskey;"/>
506                   <menuitem id="menu_webide"
507                             observes="devtoolsMenuBroadcaster_webide"
508                             accesskey="&webide.accesskey;"/>
509                   <menuitem id="menu_browserToolbox"
510                             observes="devtoolsMenuBroadcaster_BrowserToolbox"
511                             accesskey="&browserToolboxMenu.accesskey;"/>
512                   <menuitem id="menu_browserConsole"
513                             observes="devtoolsMenuBroadcaster_BrowserConsole"
514                             accesskey="&browserConsoleCmd.accesskey;"/>
515                   <menuitem id="menu_responsiveUI"
516                             observes="devtoolsMenuBroadcaster_ResponsiveUI"
517                             accesskey="&responsiveDesignTool.accesskey;"/>
518                   <menuitem id="menu_eyedropper"
519                             observes="devtoolsMenuBroadcaster_Eyedropper"
520                             accesskey="&eyedropper.accesskey;"/>
521                   <menuitem id="menu_scratchpad"
522                             observes="devtoolsMenuBroadcaster_Scratchpad"
523                             accesskey="&scratchpad.accesskey;"/>
524                   <menuitem id="menu_pageSource"
525                             observes="devtoolsMenuBroadcaster_PageSource"
526                             accesskey="&pageSourceCmd.accesskey;"/>
527                   <menuitem id="javascriptConsole"
528                             observes="devtoolsMenuBroadcaster_ErrorConsole"
529                             accesskey="&errorConsoleCmd.accesskey;"/>
530                   <menuitem id="menu_devtools_connect"
531                             observes="devtoolsMenuBroadcaster_connect"/>
532                   <menuseparator id="devToolsEndSeparator"/>
533                   <menuitem id="getMoreDevtools"
534                             observes="devtoolsMenuBroadcaster_GetMoreTools"
535                             accesskey="&getMoreDevtoolsCmd.accesskey;"/>
536                 </menupopup>
537               </menu>
538               <menuitem id="menu_pageInfo"
539                         accesskey="&pageInfoCmd.accesskey;"
540                         label="&pageInfoCmd.label;"
541 #ifndef XP_WIN
542                         key="key_viewInfo"
543 #endif
544                         command="View:PageInfo"/>
545 #ifndef XP_UNIX
546               <menuseparator id="prefSep"/>
547               <menuitem id="menu_preferences"
548                         label="&preferencesCmd2.label;"
549                         accesskey="&preferencesCmd2.accesskey;"
550                         oncommand="openPreferences();"/>
551 #endif
552               </menupopup>
553             </menu>
555 #ifdef XP_MACOSX
556           <menu id="windowMenu" />
557 #endif
558           <menu id="helpMenu" />
559         </menubar>