1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/components/customizableui/content/customizeMode.inc.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,56 @@ 1.4 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.5 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.7 + 1.8 +<hbox id="customization-container" flex="1" hidden="true"> 1.9 + <vbox flex="1" id="customization-palette-container"> 1.10 + <label id="customization-header"> 1.11 + &customizeMode.menuAndToolbars.header2; 1.12 + </label> 1.13 + <hbox id="customization-empty" hidden="true"> 1.14 + <label>&customizeMode.menuAndToolbars.empty;</label> 1.15 + <label onclick="BrowserOpenAddonsMgr('addons://discovery/');" 1.16 + onkeypress="BrowserOpenAddonsMgr('addons://discovery/');" 1.17 + id="customization-more-tools" 1.18 + class="text-link"> 1.19 + &customizeMode.menuAndToolbars.emptyLink; 1.20 + </label> 1.21 + </hbox> 1.22 + <vbox id="customization-palette" class="customization-palette" flex="1"/> 1.23 + <spacer id="customization-spacer" flex="1"/> 1.24 + <hbox id="customization-footer"> 1.25 +#ifdef CAN_DRAW_IN_TITLEBAR 1.26 + <button id="customization-titlebar-visibility-button" class="customizationmode-button" 1.27 + label="&customizeMode.titlebar;" type="checkbox" 1.28 +#NB: because oncommand fires after click, by the time we've fired, the checkbox binding 1.29 +# will already have switched the button's state, so this is correct: 1.30 + oncommand="gCustomizeMode.toggleTitlebar(this.hasAttribute('checked'))"/> 1.31 +#endif 1.32 + <button id="customization-toolbar-visibility-button" label="&customizeMode.toolbars;" class="customizationmode-button" type="menu"> 1.33 + <menupopup id="customization-toolbar-menu" onpopupshowing="onViewToolbarsPopupShowing(event)"/> 1.34 + </button> 1.35 + <spacer flex="1"/> 1.36 + <button id="customization-undo-reset-button" 1.37 + class="customizationmode-button" 1.38 + hidden="true" 1.39 + oncommand="gCustomizeMode.undoReset();" 1.40 + label="&undoCmd.label;"/> 1.41 + <button id="customization-reset-button" oncommand="gCustomizeMode.reset();" label="&customizeMode.restoreDefaults;" class="customizationmode-button"/> 1.42 + </hbox> 1.43 + </vbox> 1.44 + <vbox id="customization-panel-container"> 1.45 + <vbox id="customization-panelWrapper"> 1.46 + <html:style html:type="text/html" scoped="scoped"> 1.47 + @import url(chrome://global/skin/popup.css); 1.48 + </html:style> 1.49 + <box class="panel-arrowbox"> 1.50 + <box flex="1"/> 1.51 + <image class="panel-arrow" side="top"/> 1.52 + </box> 1.53 + <box class="panel-arrowcontent" side="top" flex="1"> 1.54 + <hbox id="customization-panelHolder"/> 1.55 + <box class="panel-inner-arrowcontentfooter" hidden="true"/> 1.56 + </box> 1.57 + </vbox> 1.58 + </vbox> 1.59 +</hbox>