forked from ZenBrowserMirrors/zen-desktop
46 lines
1.7 KiB
C++
46 lines
1.7 KiB
C++
diff --git a/browser/base/content/browser.xhtml b/browser/base/content/browser.xhtml
|
|
index 891c067d6ad718061c410c04743bed25744504b5..135c8515bbcb534c3f900e7ba1ee4d3b9fe17436 100644
|
|
--- a/browser/base/content/browser.xhtml
|
|
+++ b/browser/base/content/browser.xhtml
|
|
@@ -25,6 +25,7 @@
|
|
sizemode="normal"
|
|
retargetdocumentfocus="urlbar-input"
|
|
scrolling="false"
|
|
+ zen-before-loaded="true"
|
|
persist="screenX screenY width height sizemode"
|
|
data-l10n-sync="true">
|
|
<head>
|
|
@@ -99,6 +100,8 @@
|
|
|
|
<title data-l10n-id="browser-main-window-default-title"></title>
|
|
|
|
+#include zen-preloaded.inc.xhtml
|
|
+
|
|
# 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.
|
|
@@ -143,6 +146,7 @@
|
|
window.addEventListener("DOMContentLoaded",
|
|
gBrowserInit.onDOMContentLoaded.bind(gBrowserInit), { once: true });
|
|
</script>
|
|
+#include zen-assets.inc.xhtml
|
|
</head>
|
|
<html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
# All sets except for popupsets (commands, keys, and stringbundles)
|
|
@@ -164,9 +168,13 @@
|
|
</vbox>
|
|
</html:template>
|
|
|
|
-#include navigator-toolbox.inc.xhtml
|
|
-
|
|
-#include browser-box.inc.xhtml
|
|
+ <hbox id="zen-main-app-wrapper" flex="1" persist="zen-compact-mode">
|
|
+ <vbox id="zen-toast-container"></vbox>
|
|
+ #include navigator-toolbox.inc.xhtml
|
|
+ <html:span id="zen-sidebar-box-container">
|
|
+ </html:span>
|
|
+ #include browser-box.inc.xhtml
|
|
+ </hbox>
|
|
|
|
<html:template id="customizationPanel">
|
|
<box id="customization-container" flex="1" hidden="true"><![CDATA[
|