This does keep the checks in the interactive update interface, since we don't want to to show the user the "Restart to Update" button at the end if restarting will not update. Differential Revision: https://phabricator.services.mozilla.com/D227285
301 lines
13 KiB
HTML
301 lines
13 KiB
HTML
<!-- 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/. -->
|
|
|
|
<panel id="widget-overflow"
|
|
class="panel-no-padding"
|
|
role="group"
|
|
type="arrow"
|
|
noautofocus="true"
|
|
position="bottomright topright"
|
|
hidden="true">
|
|
<panelmultiview mainViewId="widget-overflow-mainView">
|
|
<panelview id="widget-overflow-mainView"
|
|
context="toolbar-context-menu">
|
|
<vbox class="panel-subview-body">
|
|
<vbox id="widget-overflow-list" class="widget-overflow-list"
|
|
overflowfortoolbar="nav-bar"/>
|
|
<toolbarseparator id="widget-overflow-fixed-separator" hidden="true"/>
|
|
<vbox id="widget-overflow-fixed-list" class="widget-overflow-list" hidden="true" />
|
|
</vbox>
|
|
<toolbarseparator />
|
|
<toolbarbutton command="cmd_CustomizeToolbars"
|
|
id="overflowMenu-customize-button"
|
|
class="subviewbutton panel-subview-footer-button"
|
|
data-l10n-id="toolbar-overflow-customize-button"/>
|
|
</panelview>
|
|
</panelmultiview>
|
|
<!-- This menu is here because not having it in the menu in which it's used flickers
|
|
when hover styles overlap. See https://bugzilla.mozilla.org/show_bug.cgi?id=1378427 .
|
|
-->
|
|
<menupopup id="customizationPanelItemContextMenu">
|
|
<menuitem id="customizationPanelItemContextMenuManageExtension"
|
|
data-lazy-l10n-id="toolbar-context-menu-manage-extension"
|
|
contexttype="toolbaritem"
|
|
class="customize-context-manageExtension"/>
|
|
<menuitem id="customizationPanelItemContextMenuRemoveExtension"
|
|
data-lazy-l10n-id="toolbar-context-menu-remove-extension"
|
|
contexttype="toolbaritem"
|
|
class="customize-context-removeExtension"/>
|
|
<menuitem id="customizationPanelItemContextMenuReportExtension"
|
|
data-lazy-l10n-id="toolbar-context-menu-report-extension"
|
|
contexttype="toolbaritem"
|
|
class="customize-context-reportExtension"/>
|
|
<menuseparator/>
|
|
<menuitem id="customizationPanelItemContextMenuPin"
|
|
data-lazy-l10n-id="toolbar-context-menu-pin-to-overflow-menu"
|
|
closemenu="single"
|
|
class="customize-context-moveToPanel"/>
|
|
<menuitem id="customizationPanelItemContextMenuUnpin"
|
|
closemenu="single"
|
|
class="customize-context-moveToToolbar"
|
|
data-l10n-id="customize-menu-unpin-from-overflowmenu"/>
|
|
<menuitem id="customizationPanelItemContextMenuRemove"
|
|
closemenu="single"
|
|
class="customize-context-removeFromPanel"
|
|
data-lazy-l10n-id="toolbar-context-menu-remove-from-toolbar"/>
|
|
<menuseparator/>
|
|
<menuitem command="cmd_CustomizeToolbars"
|
|
class="viewCustomizeToolbar"
|
|
data-lazy-l10n-id="toolbar-context-menu-view-customize-toolbar"/>
|
|
</menupopup>
|
|
</panel>
|
|
|
|
<html:template id="unified-extensions-panel-template">
|
|
<panel id="unified-extensions-panel"
|
|
class="panel-no-padding"
|
|
role="group"
|
|
type="arrow"
|
|
noautofocus="true"
|
|
position="bottomright topright"
|
|
hidden="true">
|
|
<panelmultiview mainViewId="unified-extensions-view">
|
|
<panelview id="unified-extensions-view"
|
|
class="cui-widget-panelview"
|
|
mainview-with-header="true">
|
|
<box class="panel-header">
|
|
<html:h1>
|
|
<html:span data-l10n-id="unified-extensions-header-title"/>
|
|
</html:h1>
|
|
</box>
|
|
|
|
<toolbarseparator />
|
|
|
|
<vbox class="panel-subview-body" context="unified-extensions-context-menu">
|
|
<html:div id="unified-extensions-messages-container">
|
|
<!-- messages will be inserted here -->
|
|
</html:div>
|
|
|
|
<vbox id="overflowed-extensions-list">
|
|
<!-- overflowed extension buttons from the nav-bar will go here -->
|
|
</vbox>
|
|
|
|
<vbox id="unified-extensions-area">
|
|
<!-- default area for extension browser action buttons -->
|
|
</vbox>
|
|
|
|
<vbox class="unified-extensions-list">
|
|
<!-- active visible extensions go here -->
|
|
</vbox>
|
|
</vbox>
|
|
|
|
<toolbarseparator />
|
|
|
|
<toolbarbutton id="unified-extensions-manage-extensions"
|
|
class="subviewbutton panel-subview-footer-button unified-extensions-manage-extensions"
|
|
data-l10n-id="unified-extensions-manage-extensions" />
|
|
</panelview>
|
|
</panelmultiview>
|
|
</panel>
|
|
</html:template>
|
|
|
|
<html:template id="panicButtonNotificationTemplate">
|
|
<panel id="panic-button-success-notification"
|
|
type="arrow"
|
|
position="bottomright topright"
|
|
hidden="true"
|
|
role="alert"
|
|
orient="vertical">
|
|
<hbox id="panic-button-success-header">
|
|
<image id="panic-button-success-icon" alt=""/>
|
|
<vbox>
|
|
<description data-l10n-id="panic-button-thankyou-msg1"></description>
|
|
<description data-l10n-id="panic-button-thankyou-msg2"></description>
|
|
</vbox>
|
|
</hbox>
|
|
<button id="panic-button-success-closebutton"
|
|
data-l10n-id="panic-button-thankyou-button"/>
|
|
</panel>
|
|
</html:template>
|
|
|
|
<html:template id="appMenuNotificationTemplate">
|
|
<panel id="appMenu-notification-popup"
|
|
class="popup-notification-panel panel-no-padding"
|
|
type="arrow"
|
|
position="after_start"
|
|
flip="slide"
|
|
orient="vertical"
|
|
noautofocus="true"
|
|
noautohide="true"
|
|
nopreventnavboxhide="true"
|
|
role="alert">
|
|
<popupnotification id="appMenu-update-available-notification"
|
|
popupid="update-available"
|
|
data-lazy-l10n-id="appmenu-update-available2"
|
|
data-l10n-attrs="buttonlabel, buttonaccesskey, secondarybuttonlabel, secondarybuttonaccesskey"
|
|
closebuttonhidden="true"
|
|
dropmarkerhidden="true"
|
|
checkboxhidden="true"
|
|
buttonhighlight="true"
|
|
hasicon="true"
|
|
hidden="true">
|
|
<popupnotificationcontent id="update-available-notification-content" orient="vertical">
|
|
<description id="update-available-description" data-lazy-l10n-id="appmenu-update-available-message2"></description>
|
|
</popupnotificationcontent>
|
|
</popupnotification>
|
|
|
|
<popupnotification id="appMenu-update-manual-notification"
|
|
popupid="update-manual"
|
|
data-lazy-l10n-id="appmenu-update-manual2"
|
|
data-l10n-attrs="buttonlabel, buttonaccesskey, secondarybuttonlabel, secondarybuttonaccesskey"
|
|
closebuttonhidden="true"
|
|
dropmarkerhidden="true"
|
|
checkboxhidden="true"
|
|
buttonhighlight="true"
|
|
hasicon="true"
|
|
hidden="true">
|
|
<popupnotificationcontent id="update-manual-notification-content" orient="vertical">
|
|
<description id="update-manual-description" data-lazy-l10n-id="appmenu-update-manual-message2"></description>
|
|
</popupnotificationcontent>
|
|
</popupnotification>
|
|
|
|
<popupnotification id="appMenu-update-unsupported-notification"
|
|
popupid="update-unsupported"
|
|
data-lazy-l10n-id="appmenu-update-unsupported2"
|
|
data-l10n-attrs="buttonlabel, buttonaccesskey, secondarybuttonlabel, secondarybuttonaccesskey"
|
|
closebuttonhidden="true"
|
|
dropmarkerhidden="true"
|
|
checkboxhidden="true"
|
|
buttonhighlight="true"
|
|
hasicon="true"
|
|
hidden="true">
|
|
<popupnotificationcontent id="update-unsupported-notification-content" orient="vertical">
|
|
<description id="update-unsupported-description" data-lazy-l10n-id="appmenu-update-unsupported-message2"></description>
|
|
</popupnotificationcontent>
|
|
</popupnotification>
|
|
|
|
<popupnotification id="appMenu-update-restart-notification"
|
|
popupid="update-restart"
|
|
data-lazy-l10n-id="appmenu-update-restart2"
|
|
data-l10n-attrs="buttonlabel, buttonaccesskey, secondarybuttonlabel, secondarybuttonaccesskey"
|
|
closebuttonhidden="true"
|
|
dropmarkerhidden="true"
|
|
checkboxhidden="true"
|
|
buttonhighlight="true"
|
|
hasicon="true"
|
|
hidden="true">
|
|
<popupnotificationcontent id="update-restart-notification-content" orient="vertical">
|
|
<description id="update-restart-description" data-lazy-l10n-id="appmenu-update-restart-message2"></description>
|
|
</popupnotificationcontent>
|
|
</popupnotification>
|
|
|
|
<popupnotification id="appMenu-addon-installed-notification"
|
|
popupid="addon-installed"
|
|
closebuttonhidden="true"
|
|
secondarybuttonhidden="true"
|
|
dropmarkerhidden="true"
|
|
checkboxhidden="true"
|
|
buttonhighlight="true"
|
|
hidden="true">
|
|
<popupnotificationcontent class="addon-installed-notification-content" orient="vertical">
|
|
<description id="addon-install-description" data-lazy-l10n-id="appmenu-addon-post-install-message3"/>
|
|
<checkbox id="addon-incognito-checkbox"
|
|
data-lazy-l10n-id="appmenu-addon-post-install-incognito-checkbox"/>
|
|
</popupnotificationcontent>
|
|
</popupnotification>
|
|
</panel>
|
|
</html:template>
|
|
|
|
<html:template id="customModeWrapper">
|
|
<menupopup id="customizationPaletteItemContextMenu">
|
|
<menuitem id="customizationPaletteItemContextMenuAddToToolbar"
|
|
class="customize-context-addToToolbar"
|
|
data-l10n-id="customize-menu-add-to-toolbar"/>
|
|
<menuitem id="customizationPaletteItemContextMenuAddToPanel"
|
|
class="customize-context-addToPanel"
|
|
data-l10n-id="customize-menu-add-to-overflowmenu"/>
|
|
</menupopup>
|
|
|
|
<panel id="downloads-button-autohide-panel"
|
|
role="group"
|
|
type="arrow">
|
|
<checkbox id="downloads-button-autohide-checkbox"
|
|
data-l10n-id="customize-mode-downloads-button-autohide" checked="true"/>
|
|
</panel>
|
|
</html:template>
|
|
|
|
<panel id="appMenu-popup"
|
|
class="cui-widget-panel panel-no-padding"
|
|
role="group"
|
|
type="arrow"
|
|
hidden="true"
|
|
flip="slide"
|
|
position="bottomright topright"
|
|
noautofocus="true">
|
|
<panelmultiview id="appMenu-multiView" mainViewId="appMenu-mainView"
|
|
viewCacheId="appMenu-viewCache">
|
|
</panelmultiview>
|
|
</panel>
|
|
|
|
<html:template id="extensionNotificationTemplate">
|
|
<panel id="extension-notification-panel"
|
|
class="popup-notification-panel panel-no-padding"
|
|
role="group"
|
|
type="arrow"
|
|
flip="slide"
|
|
position="bottomright topright"
|
|
tabspecific="true">
|
|
<popupnotification id="extension-new-tab-notification"
|
|
class="extension-controlled-notification"
|
|
popupid="extension-new-tab"
|
|
hidden="true"
|
|
data-lazy-l10n-id="appmenu-new-tab-controlled-changes"
|
|
data-l10n-attrs="buttonlabel, buttonaccesskey, secondarybuttonlabel, secondarybuttonaccesskey"
|
|
closebuttonhidden="true"
|
|
dropmarkerhidden="true"
|
|
buttonhighlight="true"
|
|
checkboxhidden="true">
|
|
<popupnotificationcontent orient="vertical">
|
|
<description id="extension-new-tab-notification-description"/>
|
|
</popupnotificationcontent>
|
|
</popupnotification>
|
|
<popupnotification id="extension-homepage-notification"
|
|
class="extension-controlled-notification"
|
|
popupid="extension-homepage"
|
|
hidden="true"
|
|
data-lazy-l10n-id="appmenu-homepage-controlled-changes"
|
|
data-l10n-attrs="buttonlabel, buttonaccesskey, secondarybuttonlabel, secondarybuttonaccesskey"
|
|
closebuttonhidden="true"
|
|
dropmarkerhidden="true"
|
|
buttonhighlight="true"
|
|
checkboxhidden="true">
|
|
<popupnotificationcontent orient="vertical">
|
|
<description id="extension-homepage-notification-description"/>
|
|
</popupnotificationcontent>
|
|
</popupnotification>
|
|
<popupnotification id="extension-tab-hide-notification"
|
|
class="extension-controlled-notification"
|
|
popupid="extension-tab-hide"
|
|
hidden="true"
|
|
data-lazy-l10n-id="appmenu-tab-hide-controlled"
|
|
data-l10n-attrs="buttonlabel, buttonaccesskey, secondarybuttonlabel, secondarybuttonaccesskey"
|
|
closebuttonhidden="true"
|
|
dropmarkerhidden="true"
|
|
checkboxhidden="true">
|
|
<popupnotificationcontent orient="vertical">
|
|
<description id="extension-tab-hide-notification-description"/>
|
|
</popupnotificationcontent>
|
|
</popupnotification>
|
|
</panel>
|
|
</html:template>
|