206 lines
9.5 KiB
Diff
206 lines
9.5 KiB
Diff
--- firefox-94.0/browser/base/content/navigator-toolbox.inc.xhtml
|
|
+++ _firefox/browser/base/content/navigator-toolbox.inc.xhtml
|
|
@@ -28,71 +28,6 @@
|
|
#include titlebar-items.inc.xhtml
|
|
</toolbar>
|
|
|
|
- <toolbar id="TabsToolbar"
|
|
- class="browser-toolbar titlebar-color"
|
|
- fullscreentoolbar="true"
|
|
- customizable="true"
|
|
- customizationtarget="TabsToolbar-customization-target"
|
|
- mode="icons"
|
|
- data-l10n-id="tabs-toolbar"
|
|
- context="toolbar-context-menu"
|
|
- flex="1">
|
|
-
|
|
- <hbox class="titlebar-spacer" type="pre-tabs"/>
|
|
-
|
|
- <hbox flex="1" align="end" class="toolbar-items">
|
|
- <hbox id="TabsToolbar-customization-target" flex="1">
|
|
- <tabs id="tabbrowser-tabs"
|
|
- is="tabbrowser-tabs"
|
|
- flex="1"
|
|
- aria-multiselectable="true"
|
|
- setfocus="false"
|
|
- tooltip="tabbrowser-tab-tooltip"
|
|
- stopwatchid="FX_TAB_CLICK_MS">
|
|
- <hbox class="tab-drop-indicator" hidden="true"/>
|
|
- <arrowscrollbox id="tabbrowser-arrowscrollbox" orient="horizontal" flex="1" style="min-width: 1px;" clicktoscroll="true" scrolledtostart="true" scrolledtoend="true">
|
|
- <tab is="tabbrowser-tab" class="tabbrowser-tab" selected="true" visuallyselected="true" fadein="true"/>
|
|
- <toolbarbutton id="tabs-newtab-button"
|
|
- class="toolbarbutton-1"
|
|
- command="cmd_newNavigatorTab"
|
|
- onclick="checkForMiddleClick(this, event);"
|
|
- tooltip="dynamic-shortcut-tooltip"/>
|
|
- <spacer class="closing-tabs-spacer" style="width: 0;"/>
|
|
- </arrowscrollbox>
|
|
- <html:span id="tabbrowser-tab-a11y-desc" hidden="true"/>
|
|
- </tabs>
|
|
-
|
|
- <toolbarbutton id="new-tab-button"
|
|
- class="toolbarbutton-1 chromeclass-toolbar-additional"
|
|
- data-l10n-id="tabs-toolbar-new-tab"
|
|
- command="cmd_newNavigatorTab"
|
|
- onclick="checkForMiddleClick(this, event);"
|
|
- tooltip="dynamic-shortcut-tooltip"
|
|
- ondrop="newTabButtonObserver.onDrop(event)"
|
|
- ondragover="newTabButtonObserver.onDragOver(event)"
|
|
- ondragenter="newTabButtonObserver.onDragOver(event)"
|
|
- cui-areatype="toolbar"
|
|
- removable="true"/>
|
|
-
|
|
- <toolbarbutton id="alltabs-button"
|
|
- class="toolbarbutton-1 chromeclass-toolbar-additional tabs-alltabs-button"
|
|
- badged="true"
|
|
- oncommand="gTabsPanel.showAllTabsPanel(event);"
|
|
- data-l10n-id="tabs-toolbar-list-all-tabs"
|
|
- removable="false"/>
|
|
- </hbox>
|
|
- </hbox>
|
|
-
|
|
- <hbox class="titlebar-spacer" type="post-tabs"/>
|
|
-
|
|
- <button class="accessibility-indicator" data-l10n-id="navbar-accessibility-indicator"
|
|
- aria-live="polite"/>
|
|
- <hbox class="private-browsing-indicator"/>
|
|
-
|
|
-#include titlebar-items.inc.xhtml
|
|
-
|
|
- </toolbar>
|
|
-
|
|
</vbox>
|
|
|
|
<toolbar id="nav-bar"
|
|
@@ -125,9 +60,16 @@
|
|
onclick="checkForMiddleClick(this, event);"
|
|
tooltip="forward-button-tooltip"
|
|
context="backForwardMenu"/>
|
|
- <toolbaritem id="stop-reload-button" class="chromeclass-toolbar-additional"
|
|
- data-l10n-id="toolbar-button-stop-reload"
|
|
- removable="true" overflows="false">
|
|
+ <toolbarbutton id="home-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
|
|
+ removable="true"
|
|
+ label="&homeButton.label;"
|
|
+ ondragover="homeButtonObserver.onDragOver(event)"
|
|
+ ondragenter="homeButtonObserver.onDragOver(event)"
|
|
+ ondrop="homeButtonObserver.onDrop(event)"
|
|
+ key="goHome"
|
|
+ onclick="BrowserHome(event);"
|
|
+ cui-areatype="toolbar"
|
|
+ tooltiptext="&homeButton.defaultPage.tooltip;"/>
|
|
<toolbarbutton id="reload-button" class="toolbarbutton-1"
|
|
data-l10n-id="toolbar-button-reload"
|
|
command="Browser:ReloadOrDuplicate"
|
|
@@ -145,8 +87,6 @@
|
|
<image class="toolbarbutton-animatable-image"/>
|
|
</box>
|
|
</toolbarbutton>
|
|
- </toolbaritem>
|
|
- <toolbarspring cui-areatype="toolbar" class="chromeclass-toolbar-additional"/>
|
|
<toolbaritem id="urlbar-container" flex="400" persist="width"
|
|
removable="false"
|
|
class="chromeclass-location" overflows="false">
|
|
@@ -168,20 +108,6 @@
|
|
class="chromeclass-toolbar-additional"/>
|
|
<!-- Use onclick instead of normal popup= syntax since the popup
|
|
code fires onmousedown, and hence eats our favicon drag events. -->
|
|
- <box id="tracking-protection-icon-container" align="center"
|
|
- role="button"
|
|
- onclick="gProtectionsHandler.handleProtectionsButtonEvent(event);"
|
|
- onkeypress="gProtectionsHandler.handleProtectionsButtonEvent(event);"
|
|
- onmouseover="gProtectionsHandler.onTrackingProtectionIconHoveredOrFocused();"
|
|
- onfocus="gProtectionsHandler.onTrackingProtectionIconHoveredOrFocused();"
|
|
- tooltip="tracking-protection-icon-tooltip">
|
|
- <box id="tracking-protection-icon-box">
|
|
- <image id="tracking-protection-icon"/>
|
|
- </box>
|
|
- <tooltip id="tracking-protection-icon-tooltip">
|
|
- <description id="tracking-protection-icon-tooltip-label" class="tooltip-label"/>
|
|
- </tooltip>
|
|
- </box>
|
|
<box id="identity-box"
|
|
pageproxystate="invalid"
|
|
ondragstart="gIdentityHandler.onDragStart(event);">
|
|
@@ -368,8 +294,6 @@
|
|
<toolbartabstop/>
|
|
</toolbaritem>
|
|
|
|
- <toolbarspring cui-areatype="toolbar" class="chromeclass-toolbar-additional"/>
|
|
-
|
|
<toolbarbutton id="downloads-button"
|
|
class="toolbarbutton-1 chromeclass-toolbar-additional"
|
|
badged="true"
|
|
@@ -526,6 +450,71 @@
|
|
</hbox>
|
|
</toolbaritem>
|
|
</toolbar>
|
|
+
|
|
+ <toolbar id="TabsToolbar"
|
|
+ class="browser-toolbar titlebar-color"
|
|
+ fullscreentoolbar="true"
|
|
+ customizable="true"
|
|
+ customizationtarget="TabsToolbar-customization-target"
|
|
+ mode="icons"
|
|
+ data-l10n-id="tabs-toolbar"
|
|
+ context="toolbar-context-menu"
|
|
+ flex="1">
|
|
+
|
|
+ <hbox class="titlebar-spacer" type="pre-tabs"/>
|
|
+
|
|
+ <hbox flex="1" align="end" class="toolbar-items">
|
|
+ <hbox id="TabsToolbar-customization-target" flex="1">
|
|
+ <tabs id="tabbrowser-tabs"
|
|
+ is="tabbrowser-tabs"
|
|
+ flex="1"
|
|
+ aria-multiselectable="true"
|
|
+ setfocus="false"
|
|
+ tooltip="tabbrowser-tab-tooltip"
|
|
+ stopwatchid="FX_TAB_CLICK_MS">
|
|
+ <hbox class="tab-drop-indicator" hidden="true"/>
|
|
+ <arrowscrollbox id="tabbrowser-arrowscrollbox" orient="horizontal" flex="1" style="min-width: 1px;" clicktoscroll="true" scrolledtostart="true" scrolledtoend="true">
|
|
+ <tab is="tabbrowser-tab" class="tabbrowser-tab" selected="true" visuallyselected="true" fadein="true"/>
|
|
+ <toolbarbutton id="tabs-newtab-button"
|
|
+ class="toolbarbutton-1"
|
|
+ command="cmd_newNavigatorTab"
|
|
+ onclick="checkForMiddleClick(this, event);"
|
|
+ tooltip="dynamic-shortcut-tooltip"/>
|
|
+ <spacer class="closing-tabs-spacer" style="width: 0;"/>
|
|
+ </arrowscrollbox>
|
|
+ <html:span id="tabbrowser-tab-a11y-desc" hidden="true"/>
|
|
+ </tabs>
|
|
+
|
|
+ <toolbarbutton id="new-tab-button"
|
|
+ class="toolbarbutton-1 chromeclass-toolbar-additional"
|
|
+ data-l10n-id="tabs-toolbar-new-tab"
|
|
+ command="cmd_newNavigatorTab"
|
|
+ onclick="checkForMiddleClick(this, event);"
|
|
+ tooltip="dynamic-shortcut-tooltip"
|
|
+ ondrop="newTabButtonObserver.onDrop(event)"
|
|
+ ondragover="newTabButtonObserver.onDragOver(event)"
|
|
+ ondragenter="newTabButtonObserver.onDragOver(event)"
|
|
+ cui-areatype="toolbar"
|
|
+ removable="true"/>
|
|
+
|
|
+ <toolbarbutton id="alltabs-button"
|
|
+ class="toolbarbutton-1 chromeclass-toolbar-additional tabs-alltabs-button"
|
|
+ badged="true"
|
|
+ oncommand="gTabsPanel.showAllTabsPanel(event);"
|
|
+ data-l10n-id="tabs-toolbar-list-all-tabs"
|
|
+ removable="false"/>
|
|
+ </hbox>
|
|
+ </hbox>
|
|
+
|
|
+ <hbox class="titlebar-spacer" type="post-tabs"/>
|
|
+
|
|
+ <button class="accessibility-indicator" data-l10n-id="navbar-accessibility-indicator"
|
|
+ aria-live="polite"/>
|
|
+ <hbox class="private-browsing-indicator"/>
|
|
+
|
|
+#include titlebar-items.inc.xhtml
|
|
+
|
|
+ </toolbar>
|
|
|
|
<html:template id="tab-notification-deck-template">
|
|
<html:named-deck id="tab-notification-deck"></html:named-deck>
|