Merge mozilla-central to autoland. a=merge CLOSED TREE
[gecko.git] / browser / base / content / hiddenWindowMac.xhtml
bloba75d430ef3d42a2ea1d04435b3934b4acd3f3bef
1 <?xml version="1.0"?>
2 # -*- Mode: HTML -*-
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 #define HIDDEN_WINDOW
9 <window id="main-window"
10 xmlns:html="http://www.w3.org/1999/xhtml"
11 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
12 data-l10n-sync="true">
13 <html:link
14 rel="stylesheet"
15 href="chrome://browser/skin/webRTC-menubar-indicator.css"
18 #include macWindow.inc.xhtml
20 <!-- Dock menu -->
21 <popupset>
22 <!-- Hide this menupopup from the accessibility tree so that we don't fire
23 any unintended accessibility notifications for it. Accessibility for the
24 Dock menu is handled natively by macOS. -->
25 <menupopup id="menu_mac_dockmenu" aria-hidden="true">
26 <!-- The command cannot be cmd_newNavigator because we need to activate
27 the application. -->
28 <menuitem data-l10n-id="menu-file-new-window" oncommand="OpenBrowserWindowFromDockMenu();"
29 id="macDockMenuNewWindow" />
30 <menuitem data-l10n-id="menu-file-new-private-window" oncommand="OpenBrowserWindowFromDockMenu({private: true});"
31 id="macDockMenuNewPrivateWindow" />
32 </menupopup>
33 </popupset>
35 </window>