Bug 1031527 - Remove dup fd from ParamTraits<MagicGrallocBufferHandle>::Read(). r...
[gecko.git] / browser / base / content / baseMenuOverlay.xul
blob019907bfa5f21868f4a59374a0164ff796a6d3bd
1 <?xml version="1.0"?>
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 <!DOCTYPE overlay [
8 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
9 %brandDTD;
10 <!ENTITY % baseMenuOverlayDTD SYSTEM "chrome://browser/locale/baseMenuOverlay.dtd">
11 %baseMenuOverlayDTD;
13 <overlay id="baseMenuOverlay"
14 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
15 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
17 <script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
19 #ifdef XP_MACOSX
20 <!-- nsMenuBarX hides these and uses them to build the Application menu.
21 When using Carbon widgets for Mac OS X widgets, some of these are not
22 used as they only apply to Cocoa widget builds. All version of Firefox
23 through Firefox 2 will use Carbon widgets. -->
24 <menupopup id="menu_ToolsPopup">
25 <menuitem id="menu_preferences" label="&preferencesCmdMac.label;" key="key_preferencesCmdMac" oncommand="openPreferences();"/>
26 <menuitem id="menu_mac_services" label="&servicesMenuMac.label;"/>
27 <menuitem id="menu_mac_hide_app" label="&hideThisAppCmdMac.label;" key="key_hideThisAppCmdMac"/>
28 <menuitem id="menu_mac_hide_others" label="&hideOtherAppsCmdMac.label;" key="key_hideOtherAppsCmdMac"/>
29 <menuitem id="menu_mac_show_all" label="&showAllAppsCmdMac.label;"/>
30 </menupopup>
31 <!-- Mac window menu -->
32 #include ../../../toolkit/content/macWindowMenu.inc
33 #endif
35 #ifdef XP_WIN
36 <menu id="helpMenu"
37 label="&helpMenuWin.label;"
38 accesskey="&helpMenuWin.accesskey;">
39 #else
40 <menu id="helpMenu"
41 label="&helpMenu.label;"
42 accesskey="&helpMenu.accesskey;">
43 #endif
44 <menupopup id="menu_HelpPopup" onpopupshowing="buildHelpMenu();">
45 <menuitem id="menu_openHelp"
46 oncommand="openHelpLink('firefox-help')"
47 onclick="checkForMiddleClick(this, event);"
48 label="&productHelp.label;"
49 accesskey="&productHelp.accesskey;"
50 #ifdef XP_MACOSX
51 key="key_openHelpMac"/>
52 #else
54 #endif
55 <menuitem id="menu_openTour"
56 oncommand="openTourPage();"
57 label="&helpShowTour.label;"
58 accesskey="&helpShowTour.accesskey;"/>
59 <menuitem id="menu_keyboardShortcuts"
60 oncommand="openHelpLink('keyboard-shortcuts')"
61 onclick="checkForMiddleClick(this, event);"
62 label="&helpKeyboardShortcuts.label;"
63 accesskey="&helpKeyboardShortcuts.accesskey;"/>
64 #ifdef MOZ_SERVICES_HEALTHREPORT
65 <menuitem id="healthReport"
66 label="&healthReport.label;"
67 accesskey="&healthReport.accesskey;"
68 oncommand="openHealthReport()"
69 onclick="checkForMiddleClick(this, event);"/>
70 #endif
71 <menuitem id="troubleShooting"
72 accesskey="&helpTroubleshootingInfo.accesskey;"
73 label="&helpTroubleshootingInfo.label;"
74 oncommand="openTroubleshootingPage()"
75 onclick="checkForMiddleClick(this, event);"/>
76 <menuitem id="feedbackPage"
77 accesskey="&helpFeedbackPage.accesskey;"
78 label="&helpFeedbackPage.label;"
79 oncommand="openFeedbackPage()"
80 onclick="checkForMiddleClick(this, event);"/>
81 <menuitem id="helpSafeMode"
82 accesskey="&helpSafeMode.accesskey;"
83 label="&helpSafeMode.label;"
84 oncommand="safeModeRestart();"/>
85 <menuseparator id="aboutSeparator"/>
86 <menuitem id="aboutName"
87 accesskey="&aboutProduct.accesskey;"
88 label="&aboutProduct.label;"
89 oncommand="openAboutDialog();"/>
90 </menupopup>
91 </menu>
93 <keyset id="baseMenuKeyset">
94 #ifdef XP_MACOSX
95 <key id="key_openHelpMac"
96 oncommand="openHelpLink('firefox-osxkey');"
97 key="&helpMac.commandkey;"
98 modifiers="accel"/>
99 <!-- These are used to build the Application menu under Cocoa widgets -->
100 <key id="key_preferencesCmdMac"
101 key="&preferencesCmdMac.commandkey;"
102 modifiers="accel"/>
103 <key id="key_hideThisAppCmdMac"
104 key="&hideThisAppCmdMac.commandkey;"
105 modifiers="accel"/>
106 <key id="key_hideOtherAppsCmdMac"
107 key="&hideOtherAppsCmdMac.commandkey;"
108 modifiers="accel,alt"/>
109 #endif
110 </keyset>
112 <stringbundleset id="stringbundleset">
113 <stringbundle id="bundle_browser" src="chrome://browser/locale/browser.properties"/>
114 <stringbundle id="bundle_browser_region" src="chrome://browser-region/locale/region.properties"/>
115 </stringbundleset>
116 </overlay>