browser.xhtml (7469B)
1 #filter substitution 2 <?xml version="1.0"?> 3 # -*- Mode: HTML -*- 4 # 5 # This Source Code Form is subject to the terms of the Mozilla Public 6 # License, v. 2.0. If a copy of the MPL was not distributed with this 7 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 8 9 <html id="main-window" 10 xmlns:html="http://www.w3.org/1999/xhtml" 11 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 12 xmlns="http://www.w3.org/1999/xhtml" 13 customtitlebar="true" 14 windowtype="navigator:browser" 15 macanimationtype="document" 16 macnativefullscreen="true" 17 windowsmica="true" 18 screenX="4" screenY="4" 19 sizemode="normal" 20 retargetdocumentfocus="urlbar-input" 21 scrolling="false" 22 persist="screenX screenY width height sizemode" 23 data-l10n-sync="true"> 24 <head> 25 <!-- CSP might be disabled by C++ code. --> 26 <meta http-equiv="Content-Security-Policy" content="script-src chrome: moz-src: resource: 'report-sample'" /> 27 28 <!-- The "global.css" stylesheet is imported first to allow other stylesheets to 29 override rules using selectors with the same specificity. This applies to 30 both "content" and "skin" packages, which bug 1385444 will unify later. --> 31 <link rel="stylesheet" href="chrome://global/skin/global.css" /> 32 33 <link 34 rel="stylesheet" 35 href="chrome://browser/content/downloads/downloads.css" 36 /> 37 <link rel="stylesheet" href="chrome://browser/content/places/places.css" /> 38 <link 39 rel="stylesheet" 40 href="chrome://browser/content/usercontext/usercontext.css" 41 /> 42 <link rel="stylesheet" href="chrome://browser/skin/" /> 43 44 <link rel="stylesheet" href="chrome://browser/skin/controlcenter/panel.css" /> 45 <link 46 rel="stylesheet" 47 href="chrome://browser/skin/customizableui/panelUI.css" 48 /> 49 <link rel="stylesheet" href="chrome://browser/skin/downloads/downloads.css" /> 50 <link rel="stylesheet" href="chrome://browser/skin/translations/panel.css" /> 51 <link rel="stylesheet" href="chrome://browser/skin/places/tree-icons.css" /> 52 <link rel="stylesheet" href="chrome://browser/skin/places/editBookmark.css" /> 53 <link 54 rel="stylesheet" 55 href="chrome://global/content/resistfingerprinting/letterboxing.css" 56 /> 57 58 <link rel="stylesheet" href="chrome://browser/content/securitylevel/securityLevelPanel.css" /> 59 <link rel="stylesheet" href="chrome://browser/content/securitylevel/securityLevelButton.css" /> 60 <link rel="stylesheet" href="chrome://browser/content/torCircuitPanel.css" /> 61 <link rel="stylesheet" href="chrome://global/content/torconnect/torConnectTitlebarStatus.css" /> 62 <link rel="stylesheet" href="chrome://browser/content/onionservices/onionservices.css" /> 63 64 <link rel="localization" href="branding/brand.ftl"/> 65 <link rel="localization" href="browser/allTabsMenu.ftl"/> 66 <link rel="localization" href="browser/appmenu.ftl"/> 67 <link rel="localization" href="browser/browser.ftl"/> 68 <link rel="localization" href="browser/browserContext.ftl"/> 69 <link rel="localization" href="browser/browserSets.ftl"/> 70 <link rel="localization" href="browser/firefoxRelay.ftl"/> 71 <link rel="localization" href="browser/firefoxView.ftl"/> 72 <link rel="localization" href="browser/genai.ftl"/> 73 <link rel="localization" href="browser/identityCredentialNotification.ftl" /> 74 <link rel="localization" href="browser/menubar.ftl"/> 75 <link rel="localization" href="browser/openTabs.ftl"/> 76 <link rel="localization" href="browser/originControls.ftl"/> 77 <link rel="localization" href="browser/panelUI.ftl"/> 78 <link rel="localization" href="browser/places.ftl"/> 79 <link rel="localization" href="browser/protectionsPanel.ftl"/> 80 <link rel="localization" href="browser/reportBrokenSite.ftl"/> 81 <link rel="localization" href="browser/screenshots.ftl"/> 82 <link rel="localization" href="browser/search.ftl"/> 83 <link rel="localization" href="browser/sidebarMenu.ftl"/> 84 <link rel="localization" href="browser/tabbrowser.ftl"/> 85 <link rel="localization" href="browser/taskbartabs.ftl"/> 86 <link rel="localization" href="browser/toolbarContextMenu.ftl"/> 87 <link rel="localization" href="browser/translations.ftl" /> 88 <link rel="localization" href="browser/unifiedExtensions.ftl"/> 89 <link rel="localization" href="browser/webrtcIndicator.ftl"/> 90 <link rel="localization" href="browser/webrtc-preview.ftl"/> 91 <link rel="localization" href="toolkit/branding/brandings.ftl"/> 92 <link rel="localization" href="toolkit/global/contextual-identity.ftl"/> 93 <link rel="localization" href="toolkit/global/textActions.ftl"/> 94 <link rel="localization" href="toolkit/printing/printUI.ftl"/> 95 <link rel="localization" href="toolkit/global/base-browser.ftl"/> 96 <link rel="localization" href="toolkit/global/tor-browser.ftl"/> 97 <!-- Untranslated FTL files --> 98 <link rel="localization" href="preview/credentialChooser.ftl" /> 99 <link rel="localization" href="preview/enUS-searchFeatures.ftl" /> 100 <link rel="localization" href="preview/interventions.ftl" /> 101 <link rel="localization" href="browser/sidebar.ftl"/> 102 <link rel="localization" href="browser/profiles.ftl"/> 103 <link rel="localization" href="preview/onboarding.ftl"/> 104 <link rel="localization" href="preview/smartTabGroups.ftl"/> 105 <link rel="localization" href="preview/genai.ftl"/> 106 <link rel="localization" href="preview/ipProtection.ftl"/> 107 <link rel="localization" href="preview/aiWindow.ftl" /> 108 109 <title data-l10n-id="browser-main-window-default-title"></title> 110 111 <script src="chrome://browser/content/global-scripts.js"></script> 112 <script src="chrome://browser/content/browser-main.js"></script> 113 </head> 114 <html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 115 # All sets except for popupsets (commands, keys, and stringbundles) 116 # *must* go into the browser-sets.inc file so that they can be shared with other 117 # top level windows in macWindow.inc.xhtml. 118 #include browser-sets.inc 119 120 #include main-popupset.inc.xhtml 121 122 #include appmenu-viewcache.inc.xhtml 123 #include unified-extensions-viewcache.inc.xhtml 124 125 # These strings are used to compose the window title. They are in the DOM to 126 # benefit from startup caching. 127 <html:div id="titlestrings" hidden="" xmlns="http://www.w3.org/1999/xhtml"> 128 <span id="mainWindowTitle" 129 data-l10n-id="browser-main-window-default-title"></span> 130 <span id="privateWindowTitle" 131 data-l10n-id="browser-main-private-window-title"></span> 132 <span id="privateWindowSuffixForContent" 133 data-l10n-id="browser-main-private-suffix-for-content"></span> 134 </html:div> 135 136 <html:dialog id="window-modal-dialog" style="visibility: hidden; height: 0; width: 0"/> 137 <html:template id="window-modal-dialog-template"> 138 <vbox class="dialogTemplate dialogOverlay" topmost="true"> 139 <hbox class="dialogBox"> 140 <browser class="dialogFrame" autoscroll="false" disablehistory="true"/> 141 </hbox> 142 </vbox> 143 </html:template> 144 145 #include navigator-toolbox.inc.xhtml 146 147 #include browser-box.inc.xhtml 148 149 <html:template id="customizationPanel"> 150 <box id="customization-container" flex="1" hidden="true"><![CDATA[ 151 #include ../../components/customizableui/content/customizeMode.inc.xhtml 152 ]]></box> 153 </html:template> 154 155 #include fullscreen-and-pointerlock.inc.xhtml 156 157 <html:div id="a11y-announcement" role="alert"/> 158 159 <!-- Put it at the very end to make sure it's not covered by anything. --> 160 <html:div id="fullscr-toggler" hidden="hidden"/> 161 </html:body> 162 </html>