#filter substitution
#
# 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/.
# All DTD information is stored in a separate file so that it can be shared by
# hiddenWindowMac.xhtml.
&mainWindow.title;
# All JS files which are needed by browser.xhtml and other top level windows to
# support MacOS specific features *must* go into the global-scripts.inc file so
# that they can be shared with macWindow.inc.xhtml.
#include global-scripts.inc
# All sets except for popupsets (commands, keys, and stringbundles)
# *must* go into the browser-sets.inc file so that they can be shared with other
# top level windows in macWindow.inc.xhtml.
#include browser-sets.inc
#include ../../components/places/content/editBookmarkPanel.inc.xhtml
#ifndef XP_UNIX
#else
#endif
#include browser-context.inc
#include ../../components/places/content/placesContextMenu.inc.xhtml
#include ../../components/places/content/bookmarksHistoryTooltip.inc.xhtml
#include popup-notifications.inc
#include ../../components/customizableui/content/panelUI.inc.xhtml
#include ../../components/controlcenter/content/identityPanel.inc.xhtml
#include ../../components/controlcenter/content/protectionsPanel.inc.xhtml
#include ../../components/downloads/content/downloadsPanel.inc.xhtml
#include browser-allTabsMenu.inc.xhtml
# The entire main menubar is placed into browser-menubar.inc, so that it can be
# shared with other top level windows in macWindow.inc.xhtml.
#include browser-menubar.inc
#include titlebar-items.inc.xhtml
#ifndef XP_MACOSX
#endif
#include titlebar-items.inc.xhtml
#ifdef XP_MACOSX
#endif
# To ensure the button label's intrinsic width doesn't expand the sidebar
# if the label is long, the button needs flex=1.
# To ensure the button doesn't expand unnecessarily for short labels, the
# spacer should significantly out-flex the button.
&fullscreenWarning.beforeDomain.label;
&fullscreenWarning.afterDomain.label;
&fullscreenWarning.generic.label;
#ifdef XP_MACOSX
&exitDOMFullscreenMac.button;
#else
&exitDOMFullscreen.button;
#endif
&pointerlockWarning.beforeDomain.label;
&pointerlockWarning.afterDomain.label;
&pointerlockWarning.generic.label;