Source code

Revision control

Other Tools

1
<!-- This Source Code Form is subject to the terms of the Mozilla Public
2
- License, v. 2.0. If a copy of the MPL was not distributed with this
3
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
4
5
<panel id="widget-overflow"
6
role="group"
7
type="arrow"
8
noautofocus="true"
9
position="bottomcenter topright"
10
photon="true"
11
hidden="true">
12
<panelmultiview mainViewId="widget-overflow-mainView">
13
<panelview id="widget-overflow-mainView"
14
context="toolbar-context-menu">
15
<vbox class="panel-subview-body">
16
<vbox id="widget-overflow-list" class="widget-overflow-list"
17
overflowfortoolbar="nav-bar"/>
18
<toolbarseparator id="widget-overflow-fixed-separator" hidden="true"/>
19
<vbox id="widget-overflow-fixed-list" class="widget-overflow-list" hidden="true" />
20
</vbox>
21
<toolbarbutton command="cmd_CustomizeToolbars"
22
id="overflowMenu-customize-button"
23
class="subviewbutton panel-subview-footer"
24
accesskey="&overflowCustomizeToolbar.accesskey;"
25
label="&overflowCustomizeToolbar.label;"/>
26
</panelview>
27
</panelmultiview>
28
<!-- This menu is here because not having it in the menu in which it's used flickers
29
when hover styles overlap. See https://bugzilla.mozilla.org/show_bug.cgi?id=1378427 .
30
-->
31
<menupopup id="customizationPanelItemContextMenu"
32
onpopupshowing="gCustomizeMode.onPanelContextMenuShowing(event); ToolbarContextMenu.updateExtension(this)">
33
<menuitem oncommand="ToolbarContextMenu.openAboutAddonsForContextAction(this.parentElement)"
34
accesskey="&customizeMenu.manageExtension.accesskey;"
35
label="&customizeMenu.manageExtension.label;"
36
contexttype="toolbaritem"
37
class="customize-context-manageExtension"/>
38
<menuitem oncommand="ToolbarContextMenu.removeExtensionForContextAction(this.parentElement)"
39
accesskey="&customizeMenu.removeExtension.accesskey;"
40
label="&customizeMenu.removeExtension.label;"
41
contexttype="toolbaritem"
42
class="customize-context-removeExtension"/>
43
<menuitem oncommand="ToolbarContextMenu.reportExtensionForContextAction(this.parentElement, 'toolbar_context_menu')"
44
accesskey="&customizeMenu.reportExtension.accesskey;"
45
label="&customizeMenu.reportExtension.label;"
46
contexttype="toolbaritem"
47
class="customize-context-reportExtension"/>
48
<menuseparator/>
49
<menuitem oncommand="gCustomizeMode.addToPanel(document.popupNode)"
50
id="customizationPanelItemContextMenuPin"
51
accesskey="&customizeMenu.pinToOverflowMenu.accesskey;"
52
label="&customizeMenu.pinToOverflowMenu.label;"
53
closemenu="single"
54
class="customize-context-moveToPanel"/>
55
<menuitem oncommand="gCustomizeMode.addToToolbar(document.popupNode)"
56
id="customizationPanelItemContextMenuUnpin"
57
closemenu="single"
58
class="customize-context-moveToToolbar"
59
accesskey="&customizeMenu.unpinFromOverflowMenu.accesskey;"
60
label="&customizeMenu.unpinFromOverflowMenu.label;"/>
61
<menuitem oncommand="gCustomizeMode.removeFromArea(document.popupNode)"
62
closemenu="single"
63
class="customize-context-removeFromPanel"
64
accesskey="&customizeMenu.removeFromToolbar.accesskey;"
65
label="&customizeMenu.removeFromToolbar.label;"/>
66
<menuseparator/>
67
<menuitem command="cmd_CustomizeToolbars"
68
class="viewCustomizeToolbar"
69
accesskey="&viewCustomizeToolbar.accesskey;"
70
label="&viewCustomizeToolbar.label;"/>
71
</menupopup>
72
</panel>
73
74
<panel id="panic-button-success-notification"
75
type="arrow"
76
position="bottomcenter topright"
77
hidden="true"
78
role="alert"
79
orient="vertical">
80
<hbox id="panic-button-success-header">
81
<image id="panic-button-success-icon" alt=""/>
82
<vbox>
83
<description>&panicButton.thankyou.msg1;</description>
84
<description>&panicButton.thankyou.msg2;</description>
85
</vbox>
86
</hbox>
87
<button label="&panicButton.thankyou.buttonlabel;"
88
id="panic-button-success-closebutton"
89
oncommand="PanicButtonNotifier.close()"/>
90
</panel>
91
92
<panel id="appMenu-notification-popup"
93
class="popup-notification-panel"
94
type="arrow"
95
position="after_start"
96
hidden="true"
97
flip="slide"
98
orient="vertical"
99
noautofocus="true"
100
noautohide="true"
101
nopreventnavboxhide="true"
102
role="alert">
103
<popupnotification id="appMenu-update-available-notification"
104
popupid="update-available"
105
data-lazy-l10n-id="appmenu-update-available"
106
data-l10n-attrs="buttonlabel, buttonaccesskey, secondarybuttonlabel, secondarybuttonaccesskey"
107
closebuttonhidden="true"
108
dropmarkerhidden="true"
109
checkboxhidden="true"
110
buttonhighlight="true"
111
hidden="true">
112
<popupnotificationcontent id="update-available-notification-content" orient="vertical">
113
<description id="update-available-description" data-lazy-l10n-id="appmenu-update-available-message"></description>
114
<label id="update-available-whats-new" is="text-link" data-lazy-l10n-id="appmenu-update-whats-new"/>
115
</popupnotificationcontent>
116
</popupnotification>
117
118
<popupnotification id="appMenu-update-manual-notification"
119
popupid="update-manual"
120
data-lazy-l10n-id="appmenu-update-manual"
121
data-l10n-attrs="buttonlabel, buttonaccesskey, secondarybuttonlabel, secondarybuttonaccesskey"
122
closebuttonhidden="true"
123
dropmarkerhidden="true"
124
checkboxhidden="true"
125
buttonhighlight="true"
126
hidden="true">
127
<popupnotificationcontent id="update-manual-notification-content" orient="vertical">
128
<description id="update-manual-description" data-lazy-l10n-id="appmenu-update-manual-message"></description>
129
<label id="update-manual-whats-new" is="text-link" data-lazy-l10n-id="appmenu-update-whats-new"/>
130
</popupnotificationcontent>
131
</popupnotification>
132
133
<popupnotification id="appMenu-update-unsupported-notification"
134
popupid="update-unsupported"
135
data-lazy-l10n-id="appmenu-update-unsupported"
136
data-l10n-attrs="buttonlabel, buttonaccesskey, secondarybuttonlabel, secondarybuttonaccesskey"
137
closebuttonhidden="true"
138
dropmarkerhidden="true"
139
checkboxhidden="true"
140
buttonhighlight="true"
141
hidden="true">
142
<popupnotificationcontent id="update-unsupported-notification-content" orient="vertical">
143
<description id="update-unsupported-description" data-lazy-l10n-id="appmenu-update-unsupported-message"></description>
144
</popupnotificationcontent>
145
</popupnotification>
146
147
<popupnotification id="appMenu-update-restart-notification"
148
popupid="update-restart"
149
data-lazy-l10n-id="appmenu-update-restart"
150
data-l10n-attrs="buttonlabel, buttonaccesskey, secondarybuttonlabel, secondarybuttonaccesskey"
151
closebuttonhidden="true"
152
dropmarkerhidden="true"
153
checkboxhidden="true"
154
buttonhighlight="true"
155
hidden="true">
156
<popupnotificationcontent id="update-restart-notification-content" orient="vertical">
157
<description id="update-restart-description" data-lazy-l10n-id="appmenu-update-restart-message"></description>
158
</popupnotificationcontent>
159
</popupnotification>
160
161
<popupnotification id="appMenu-addon-installed-notification"
162
popupid="addon-installed"
163
closebuttonhidden="true"
164
secondarybuttonhidden="true"
165
data-lazy-l10n-id="appmenu-addon-private-browsing-installed"
166
data-l10n-attrs="buttonlabel, buttonaccesskey"
167
dropmarkerhidden="true"
168
checkboxhidden="true"
169
buttonhighlight="true"
170
hidden="true">
171
<popupnotificationcontent class="addon-installed-notification-content" orient="vertical">
172
<description id="addon-install-description" data-lazy-l10n-id="appmenu-addon-post-install-message">
173
<image data-l10n-name="addon-install-icon" class="addon-addon-icon"></image>
174
<image data-l10n-name="addon-menu-icon" class="addon-toolbar-icon"></image>
175
</description>
176
<checkbox id="addon-incognito-checkbox"
177
data-lazy-l10n-id="appmenu-addon-post-install-incognito-checkbox"/>
178
</popupnotificationcontent>
179
</popupnotification>
180
181
<popupnotification id="appMenu-addon-private-browsing-notification"
182
popupid="addon-private-browsing"
183
data-lazy-l10n-id="appmenu-addon-private-browsing"
184
data-l10n-attrs="buttonlabel, buttonaccesskey, secondarybuttonlabel, secondarybuttonaccesskey"
185
closebuttonhidden="true"
186
secondarybuttonhidden="false"
187
dropmarkerhidden="true"
188
checkboxhidden="true"
189
buttonhighlight="true"
190
hidden="true">
191
<popupnotificationcontent class="addon-private-browsing-notification-content" orient="vertical">
192
<description id="addon-private-browsing-description" data-lazy-l10n-id="appmenu-addon-private-browsing-message"></description>
193
<label id="addon-private-browsing-learn-more"
194
class="text-link" is="text-link" data-lazy-l10n-id="appmenu-addon-private-browsing-learn-more"></label>
195
</popupnotificationcontent>
196
</popupnotification>
197
</panel>
198
199
<menupopup id="customizationPaletteItemContextMenu"
200
onpopupshowing="gCustomizeMode.onPaletteContextMenuShowing(event)">
201
<menuitem oncommand="gCustomizeMode.addToToolbar(document.popupNode)"
202
class="customize-context-addToToolbar"
203
accesskey="&customizeMenu.addToToolbar.accesskey;"
204
label="&customizeMenu.addToToolbar.label;"/>
205
<menuitem oncommand="gCustomizeMode.addToPanel(document.popupNode)"
206
class="customize-context-addToPanel"
207
accesskey="&customizeMenu.addToOverflowMenu.accesskey;"
208
label="&customizeMenu.addToOverflowMenu.label;"/>
209
</menupopup>
210
211
<menupopup id="customizationPanelContextMenu">
212
<menuitem command="cmd_CustomizeToolbars"
213
accesskey="&customizeMenu.addMoreItems.accesskey;"
214
label="&customizeMenu.addMoreItems.label;"/>
215
</menupopup>
216
217
<panel id="appMenu-popup"
218
class="cui-widget-panel"
219
role="group"
220
type="arrow"
221
hidden="true"
222
flip="slide"
223
position="bottomcenter topright"
224
noautofocus="true">
225
<panelmultiview id="appMenu-multiView" mainViewId="appMenu-mainView"
226
viewCacheId="appMenu-viewCache">
227
<panelview id="appMenu-mainView" class="PanelUI-subView"
228
descriptionheightworkaround="true">
229
<vbox class="panel-subview-body">
230
<vbox id="appMenu-addon-banners"/>
231
<toolbarbutton class="panel-banner-item"
232
label-update-available="&updateAvailable.panelUI.label;"
233
label-update-manual="&updateManual.panelUI.label;"
234
label-update-unsupported="&updateUnsupported.panelUI.label;"
235
label-update-restart="&updateRestart.panelUI.label2;"
236
oncommand="PanelUI._onBannerItemSelected(event)"
237
wrap="true"
238
hidden="true"/>
239
<toolbaritem id="appMenu-fxa-status"
240
class="sync-ui-item"
241
flex="1"
242
defaultlabel="&fxaSignIn.label;"
243
# Despite the name, the tooltip says "Open Sync Preferences" and it is only used when *not* signed in.
244
# Bug 1542334 changed the behaviour of the item when signed in so the tooltip was no longer appropriate there.
245
tooltiptext="&fxaSignedIn.tooltip;"
246
errorlabel="&fxaSignInError.label;"
247
unverifiedlabel="&fxaUnverified.label;"
248
onclick="if (event.which == 1) gSync.onMenuPanelCommand();">
249
<image id="appMenu-fxa-avatar"/>
250
<toolbarbutton id="appMenu-fxa-label"
251
class="subviewbutton subviewbutton-iconic"
252
label="&fxaSignIn.label;"
253
fxabrandname="&syncBrand.fxAccount.label;"
254
closemenu="none"/>
255
</toolbaritem>
256
<toolbarseparator class="sync-ui-item"/>
257
<toolbaritem>
258
<toolbarbutton id="appMenu-tp-button"
259
class="subviewbutton subviewbutton-iconic"
260
oncommand="gProtectionsHandler.openPreferences('appMenu-trackingprotection');">
261
<image id="appMenu-tp-icon" class="toolbarbutton-icon"/>
262
<label id="appMenu-tp-label" class="toolbarbutton-text"/>
263
<label id="appMenu-tp-category"/>
264
</toolbarbutton>
265
</toolbaritem>
266
<toolbarseparator id="appMenu-tp-separator"/>
267
<toolbarbutton id="appMenu-new-window-button"
268
class="subviewbutton subviewbutton-iconic"
269
label="&newNavigatorCmd.label;"
270
key="key_newNavigator"
271
command="cmd_newNavigator"/>
272
<toolbarbutton id="appMenu-private-window-button"
273
class="subviewbutton subviewbutton-iconic"
274
label="&newPrivateWindow.label;"
275
key="key_privatebrowsing"
276
command="Tools:PrivateBrowsing"/>
277
<toolbarbutton id="appMenuRestoreLastSession"
278
label="&appMenuHistory.restoreSession.label;"
279
class="subviewbutton subviewbutton-iconic"
280
command="Browser:RestoreLastSession"/>
281
<toolbarseparator/>
282
<toolbaritem id="appMenu-zoom-controls" class="toolbaritem-combined-buttons" closemenu="none">
283
<!-- Use a spacer, because panel sizing code gets confused when using CSS methods. -->
284
<spacer class="before-label"/>
285
<label value="&fullZoom.label;"/>
286
<!-- This spacer keeps the scrollbar from overlapping the view. -->
287
<spacer class="after-label"/>
288
<toolbarbutton id="appMenu-zoomReduce-button"
289
class="subviewbutton subviewbutton-iconic"
290
command="cmd_fullZoomReduce"
291
tooltip="dynamic-shortcut-tooltip"/>
292
<toolbarbutton id="appMenu-zoomReset-button"
293
class="subviewbutton"
294
command="cmd_fullZoomReset"
295
tooltip="dynamic-shortcut-tooltip"/>
296
<toolbarbutton id="appMenu-zoomEnlarge-button"
297
class="subviewbutton subviewbutton-iconic"
298
command="cmd_fullZoomEnlarge"
299
tooltip="dynamic-shortcut-tooltip"/>
300
<toolbarseparator orient="vertical"/>
301
<toolbarbutton id="appMenu-fullscreen-button"
302
class="subviewbutton subviewbutton-iconic"
303
observes="View:FullScreen"
304
type="checkbox"
305
closemenu="auto"
306
onclick="if (event.button == 0) this.closest('panel').hidePopup();"
307
tooltip="dynamic-shortcut-tooltip"/>
308
</toolbaritem>
309
<toolbarseparator/>
310
<toolbaritem id="appMenu-edit-controls" class="toolbaritem-combined-buttons" closemenu="none">
311
<!-- Use a spacer, because panel sizing code gets confused when using CSS methods. -->
312
<spacer class="before-label"/>
313
<label value="&editMenu.label;"/>
314
<!-- This spacer keeps the scrollbar from overlapping the view. -->
315
<spacer class="after-label"/>
316
<toolbarbutton id="appMenu-cut-button"
317
class="subviewbutton subviewbutton-iconic"
318
command="cmd_cut"
319
tooltip="dynamic-shortcut-tooltip"/>
320
<toolbarbutton id="appMenu-copy-button"
321
class="subviewbutton subviewbutton-iconic"
322
command="cmd_copy"
323
tooltip="dynamic-shortcut-tooltip"/>
324
<toolbarbutton id="appMenu-paste-button"
325
class="subviewbutton subviewbutton-iconic"
326
command="cmd_paste"
327
tooltip="dynamic-shortcut-tooltip"/>
328
</toolbaritem>
329
<toolbarseparator/>
330
<toolbarbutton id="appMenu-library-button"
331
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
332
label="&places.library.title;"
333
closemenu="none"
334
oncommand="PanelUI.showSubView('appMenu-libraryView', this)"/>
335
<toolbarbutton id="appMenu-logins-button"
336
class="subviewbutton subviewbutton-iconic"
337
label="&logins.label;"
338
oncommand="LoginHelper.openPasswordManager(window, { entryPoint: 'mainmenu' })"
339
/>
340
<toolbarbutton id="appMenu-addons-button"
341
class="subviewbutton subviewbutton-iconic"
342
label="&addons.label;"
343
key="key_openAddons"
344
command="Tools:Addons"
345
/>
346
<toolbarbutton id="appMenu-preferences-button"
347
class="subviewbutton subviewbutton-iconic"
348
#ifdef XP_WIN
349
label="&preferencesCmd2.label;"
350
#else
351
label="&preferencesCmdUnix.label;"
352
#ifdef XP_MACOSX
353
key="key_preferencesCmdMac"
354
#endif
355
#endif
356
oncommand="openPreferences()"
357
/>
358
<toolbarbutton id="appMenu-customize-button"
359
class="subviewbutton subviewbutton-iconic"
360
label="&viewCustomizeToolbar.label;"
361
command="cmd_CustomizeToolbars"
362
/>
363
<toolbarseparator/>
364
<toolbarbutton id="appMenu-open-file-button"
365
class="subviewbutton"
366
label="&openFileCmd.label;"
367
key="openFileKb"
368
command="Browser:OpenFile"
369
/>
370
<toolbarbutton id="appMenu-save-file-button"
371
class="subviewbutton"
372
label="&savePageCmd.label;"
373
key="key_savePage"
374
command="Browser:SavePage"
375
/>
376
<toolbarbutton id="appMenu-print-button"
377
class="subviewbutton subviewbutton-iconic"
378
label="&printCmd.label;"
379
#ifdef XP_MACOSX
380
key="printKb"
381
command="cmd_print"
382
#else
383
command="cmd_printPreview"
384
#endif
385
/>
386
<toolbarseparator/>
387
<toolbarbutton id="appMenu-find-button"
388
class="subviewbutton subviewbutton-iconic"
389
label="&findOnCmd.label;"
390
key="key_find"
391
command="cmd_find"/>
392
<toolbarbutton id="appMenu-more-button"
393
class="subviewbutton subviewbutton-nav"
394
label="&moreMenu.label;"
395
closemenu="none"
396
oncommand="PanelUI.showSubView('appMenu-moreView', this)"/>
397
<toolbarbutton id="appMenu-developer-button"
398
class="subviewbutton subviewbutton-nav"
399
label="&webDeveloperMenu.label;"
400
closemenu="none"
401
oncommand="PanelUI.showSubView('PanelUI-developer', this)"/>
402
<toolbarbutton id="appMenu-whatsnew-button"
403
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
404
hidden="true"
405
closemenu="none"
406
oncommand="PanelUI.showSubView('PanelUI-whatsNew', this)"/>
407
<toolbarbutton id="appMenu-help-button"
408
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
409
label="&appMenuHelp.label;"
410
closemenu="none"
411
oncommand="PanelUI.showSubView('PanelUI-helpView', this)"/>
412
#ifndef XP_MACOSX
413
<toolbarseparator/>
414
<toolbarbutton id="appMenu-quit-button"
415
class="subviewbutton subviewbutton-iconic"
416
#ifdef XP_WIN
417
label="&quitApplicationCmdWin2.label;"
418
tooltiptext="&quitApplicationCmdWin2.tooltip;"
419
#else
420
label="&quitApplicationCmd.label;"
421
#endif
422
key="key_quitApplication"
423
command="cmd_quitApplication"/>
424
#endif
425
</vbox>
426
</panelview>
427
<panelview id="PanelUI-history" flex="1">
428
<vbox class="panel-subview-body">
429
<toolbarbutton id="appMenuViewHistorySidebar"
430
label="&appMenuHistory.viewSidebar.label;"
431
label-checked="&appMenuHistory.hideSidebar.label;"
432
label-unchecked="&appMenuHistory.viewSidebar.label;"
433
type="checkbox"
434
class="subviewbutton subviewbutton-iconic"
435
key="key_gotoHistory"
436
oncommand="SidebarUI.toggle('viewHistorySidebar');">
437
<observes element="sidebar-box" attribute="positionend"/>
438
</toolbarbutton>
439
<toolbarbutton id="appMenuClearRecentHistory"
440
label="&appMenuHistory.clearRecent.label;"
441
class="subviewbutton subviewbutton-iconic"
442
command="Tools:Sanitize"/>
443
<toolbarseparator/>
444
<toolbarbutton id="appMenuRecentlyClosedTabs"
445
label="&historyUndoMenu.label;"
446
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
447
closemenu="none"
448
oncommand="PanelUI.showSubView('appMenu-library-recentlyClosedTabs', this)"/>
449
<toolbarbutton id="appMenuRecentlyClosedWindows"
450
label="&historyUndoWindowMenu.label;"
451
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
452
closemenu="none"
453
oncommand="PanelUI.showSubView('appMenu-library-recentlyClosedWindows', this)"/>
454
<toolbarseparator/>
455
<label value="&appMenuHistory.recentHistory.label;"
456
class="subview-subheader"/>
457
<toolbaritem id="appMenu_historyMenu"
458
orient="vertical"
459
smoothscroll="false"
460
flatList="true"
461
tooltip="bhTooltip">
462
<!-- history menu items will go here -->
463
</toolbaritem>
464
</vbox>
465
<toolbarbutton id="PanelUI-historyMore"
466
class="panel-subview-footer subviewbutton"
467
label="&appMenuHistory.showAll.label;"
468
oncommand="PlacesCommandHook.showPlacesOrganizer('History'); CustomizableUI.hidePanelForNode(this);"/>
469
</panelview>
470
471
<panelview id="appMenu-library-recentlyClosedTabs"/>
472
<panelview id="appMenu-library-recentlyClosedWindows"/>
473
474
<panelview id="PanelUI-remotetabs" flex="1" class="PanelUI-subView"
475
descriptionheightworkaround="true">
476
<vbox class="panel-subview-body">
477
<!-- this widget has 3 boxes in the body, but only 1 is ever visible -->
478
<!-- When Sync is ready to sync -->
479
<vbox id="PanelUI-remotetabs-main" hidden="true">
480
<vbox id="PanelUI-remotetabs-buttons">
481
<toolbarbutton id="PanelUI-remotetabs-view-sidebar"
482
class="subviewbutton subviewbutton-iconic"
483
label="&appMenuRemoteTabs.sidebar.label;"
484
label-checked="&appMenuRemoteTabs.hidesidebar.label;"
485
label-unchecked="&appMenuRemoteTabs.sidebar.label;"
486
oncommand="SidebarUI.toggle('viewTabsSidebar', this);"/>
487
<toolbarbutton id="PanelUI-remotetabs-view-managedevices"
488
class="subviewbutton subviewbutton-iconic"
489
label="&appMenuRemoteTabs.managedevices.label;"
490
oncommand="gSync.openDevicesManagementPage('syncedtabs-menupanel');">
491
<observes element="sidebar-box" attribute="positionend"/>
492
</toolbarbutton>
493
<toolbarbutton id="PanelUI-remotetabs-syncnow"
494
onmouseover="gSync.refreshSyncButtonsTooltip();"
495
class="subviewbutton subviewbutton-iconic"
496
oncommand="gSync.doSync();"
497
closemenu="none"/>
498
<menuseparator id="PanelUI-remotetabs-separator"/>
499
</vbox>
500
<deck id="PanelUI-remotetabs-deck">
501
<!-- Sync is ready to Sync and the "tabs" engine is enabled -->
502
<vbox id="PanelUI-remotetabs-tabspane">
503
<vbox id="PanelUI-remotetabs-tabslist"
504
showAllLabel="&appMenuRemoteTabs.showAll.label;"
505
showAllTooltipText="&appMenuRemoteTabs.showAll.tooltip;"
506
showMoreLabel="&appMenuRemoteTabs.showMore.label;"
507
showMoreTooltipText="&appMenuRemoteTabs.showMore.tooltip;"
508
notabsforclientlabel="&appMenuRemoteTabs.notabs.label;"
509
/>
510
</vbox>
511
<!-- Sync is ready to Sync but the "tabs" engine isn't enabled-->
512
<hbox id="PanelUI-remotetabs-tabsdisabledpane" pack="center" flex="1">
513
<vbox class="PanelUI-remotetabs-instruction-box" align="center">
514
<hbox pack="center">
515
<image class="fxaSyncIllustrationIssue"/>
516
</hbox>
517
<label class="PanelUI-remotetabs-instruction-label">&appMenuRemoteTabs.tabsnotsyncing.label;</label>
518
<hbox pack="center">
519
<toolbarbutton class="PanelUI-remotetabs-button"
520
label="&appMenuRemoteTabs.opensyncprefs.label;"
521
oncommand="gSync.openPrefs('synced-tabs');"/>
522
</hbox>
523
</vbox>
524
</hbox>
525
<!-- Sync is ready to Sync but we are still fetching the tabs to show -->
526
<vbox id="PanelUI-remotetabs-fetching">
527
<!-- Show intentionally blank panel, see bug 1239845 -->
528
</vbox>
529
<!-- Sync has only 1 (ie, this) device connected -->
530
<hbox id="PanelUI-remotetabs-nodevicespane" pack="center" flex="1">
531
<vbox class="PanelUI-remotetabs-instruction-box" align="center">
532
<hbox pack="center">
533
<image class="fxaSyncIllustrationIssue"/>
534
</hbox>
535
<label class="PanelUI-remotetabs-instruction-label">&appMenuRemoteTabs.noclients.subtitle;</label>
536
<toolbarbutton id="PanelUI-remotetabs-connect-device-button"
537
class="PanelUI-remotetabs-button"
538
label="&appMenuRemoteTabs.connectdevice.label;"
539
oncommand="gSync.openConnectAnotherDevice('synced-tabs');"/>
540
</vbox>
541
</hbox>
542
</deck>
543
</vbox>
544
<!-- a box to ensure contained boxes are centered horizonally -->
545
<hbox pack="center" flex="1">
546
<!-- When Sync is not configured -->
547
<vbox id="PanelUI-remotetabs-setupsync"
548
flex="1"
549
align="center"
550
class="PanelUI-remotetabs-instruction-box"
551
hidden="true">
552
<image class="fxaSyncIllustration"/>
553
<label class="PanelUI-remotetabs-instruction-label">&appMenuRemoteTabs.notsignedin.label;</label>
554
<toolbarbutton class="PanelUI-remotetabs-button"
555
label="&appMenuRemoteTabs.signin.label;"
556
oncommand="gSync.openPrefs('synced-tabs');"/>
557
</vbox>
558
<!-- When Sync needs re-authentication -->
559
<vbox id="PanelUI-remotetabs-reauthsync"
560
flex="1"
561
align="center"
562
class="PanelUI-remotetabs-instruction-box"
563
hidden="true">
564
<image class="fxaSyncIllustrationIssue"/>
565
<label class="PanelUI-remotetabs-instruction-label">&appMenuRemoteTabs.notsignedin.label;</label>
566
<toolbarbutton class="PanelUI-remotetabs-button"
567
label="&appMenuRemoteTabs.signin.label;"
568
oncommand="gSync.openPrefs('synced-tabs');"/>
569
</vbox>
570
<!-- When Sync needs verification -->
571
<vbox id="PanelUI-remotetabs-unverified"
572
flex="1"
573
align="center"
574
class="PanelUI-remotetabs-instruction-box"
575
hidden="true">
576
<image class="fxaSyncIllustrationIssue"/>
577
<label class="PanelUI-remotetabs-instruction-label">&appMenuRemoteTabs.unverified.label;</label>
578
<toolbarbutton class="PanelUI-remotetabs-button"
579
label="&appMenuRemoteTabs.opensyncprefs.label;"
580
oncommand="gSync.openPrefs('synced-tabs');"/>
581
</vbox>
582
</hbox>
583
</vbox>
584
</panelview>
585
586
<panelview id="PanelUI-bookmarks" flex="1" class="PanelUI-subView">
587
<vbox class="panel-subview-body">
588
<toolbarbutton id="panelMenuBookmarkThisPage"
589
class="subviewbutton subviewbutton-iconic"
590
command="Browser:AddBookmarkAs"
591
onclick="PanelUI.hide();"/>
592
<toolbarbutton id="panelMenu_bookmarkingTools"
593
label="&bookmarkingTools.label;"
594
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
595
closemenu="none"
596
oncommand="BookmarkingUI.showBookmarkingTools(this);"/>
597
<toolbarbutton id="panelMenu_searchBookmarks"
598
label="&searchBookmarks.label;"
599
class="subviewbutton subviewbutton-iconic"
600
oncommand="PlacesCommandHook.searchBookmarks(); PanelUI.hide();"/>
601
<toolbarseparator/>
602
<label id="panelMenu_recentBookmarks"
603
value="&recentBookmarks.label;"
604
class="subview-subheader"/>
605
<toolbaritem id="panelMenu_bookmarksMenu"
606
orient="vertical"
607
smoothscroll="false"
608
flatList="true"
609
tooltip="bhTooltip">
610
<!-- bookmarks menu items will go here -->
611
</toolbaritem>
612
</vbox>
613
<toolbarbutton id="panelMenu_showAllBookmarks"
614
label="&showAllBookmarks2.label;"
615
class="subviewbutton panel-subview-footer"
616
command="Browser:ShowAllBookmarks"
617
onclick="PanelUI.hide();"/>
618
</panelview>
619
620
<panelview id="PanelUI-containers" flex="1">
621
<vbox id="PanelUI-containersItems"/>
622
</panelview>
623
624
<panelview id="PanelUI-helpView" flex="1" class="PanelUI-subView">
625
<vbox id="PanelUI-helpItems" class="panel-subview-body"/>
626
</panelview>
627
628
<panelview id="PanelUI-developer" flex="1">
629
<vbox id="PanelUI-developerItems" class="panel-subview-body"/>
630
</panelview>
631
632
<panelview id="PanelUI-profiler" flex="1">
633
<iframe id="PanelUI-profilerIframe" className="PanelUI-developer-iframe" />
634
</panelview>
635
636
<panelview id="PanelUI-characterEncodingView" flex="1">
637
<vbox class="panel-subview-body">
638
<vbox id="PanelUI-characterEncodingView-pinned"
639
class="PanelUI-characterEncodingView-list"/>
640
<toolbarseparator/>
641
<vbox id="PanelUI-characterEncodingView-charsets"
642
class="PanelUI-characterEncodingView-list"/>
643
<toolbarseparator/>
644
<vbox>
645
<label id="PanelUI-characterEncodingView-autodetect-label"/>
646
<vbox id="PanelUI-characterEncodingView-autodetect"
647
class="PanelUI-characterEncodingView-list"/>
648
</vbox>
649
</vbox>
650
</panelview>
651
652
<panelview id="PanelUI-panicView" flex="1"
653
descriptionheightworkaround="true">
654
<!-- This is constructed in CustomizableWidgets.jsm -->
655
</panelview>
656
657
<panelview id="appMenu-moreView" title="&moreMenu.label;" class="PanelUI-subView">
658
<vbox class="panel-subview-body">
659
<toolbarbutton id="appMenu-taskmanager-button"
660
class="subviewbutton subviewbutton-iconic"
661
label="&taskManagerCmd.label;"
662
oncommand="switchToTabHavingURI('about:performance', true)"/>
663
<toolbarbutton id="appMenu-characterencoding-button"
664
class="subviewbutton subviewbutton-nav"
665
label="&charsetMenu2.label;"
666
closemenu="none"
667
oncommand="PanelUI.showSubView('PanelUI-characterEncodingView', this)"/>
668
<toolbarbutton id="appMenu-workoffline-button"
669
class="subviewbutton"
670
label="&goOfflineCmd.label;"
671
type="checkbox"
672
command="cmd_toggleOfflineStatus"/>
673
</vbox>
674
</panelview>
675
<panelview id="appMenu-libraryView" class="PanelUI-subView">
676
<vbox class="panel-subview-body">
677
<toolbarbutton id="appMenu-library-bookmarks-button"
678
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
679
label="&bookmarksSubview.label;"
680
closemenu="none"
681
oncommand="BookmarkingUI.showSubView(this);"/>
682
<toolbarbutton id="appMenu-library-pocket-button"
683
class="subviewbutton subviewbutton-iconic"
684
label="&pocketMenuitem.label;"
685
oncommand="Pocket.openList(event)"/>
686
<toolbarbutton id="appMenu-library-history-button"
687
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
688
label="&historyMenu.label;"
689
closemenu="none"
690
oncommand="PanelUI.showSubView('PanelUI-history', this)"/>
691
<toolbarbutton id="appMenu-library-downloads-button"
692
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
693
label="&libraryDownloads.label;"
694
closemenu="none"
695
oncommand="DownloadsSubview.show(this);"/>
696
<toolbarbutton id="appMenu-library-remotetabs-button"
697
class="subviewbutton subviewbutton-iconic subviewbutton-nav sync-ui-item"
698
label="&appMenuRemoteTabs.label;"
699
closemenu="none"
700
oncommand="PanelUI.showSubView('PanelUI-remotetabs', this)"/>
701
<toolbarseparator hidden="true"/>
702
<label value="&appMenuRecentHighlights.label;"
703
hidden="true"
704
class="subview-subheader"/>
705
<toolbaritem id="appMenu-library-recentHighlights"
706
hidden="true"
707
orient="vertical"
708
smoothscroll="false"
709
flatList="true"
710
tooltip="bhTooltip">
711
<!-- Recent Highlights will go here -->
712
</toolbaritem>
713
</vbox>
714
</panelview>
715
716
<panelview id="PanelUI-fxa" class="PanelUI-subView" descriptionheightworkaround="true">
717
<vbox class="panel-subview-body">
718
<vbox id="PanelUI-fxa-signin">
719
<image class="fxaChooseWhatToSyncDevices"/>
720
<label class="PanelUI-fxa-signin-instruction-callout">&fxa.signin.callout.label;</label>
721
<label class="PanelUI-fxa-signin-instruction-label">&fxa.signin.description.label;</label>
722
<toolbarbutton class="PanelUI-fxa-signin-button"
723
label="&fxa.signin.button.label;"
724
oncommand="gSync.openFxAEmailFirstPageFromFxaMenu(this);"/>
725
</vbox>
726
<vbox id="PanelUI-fxa-unverified" class="PanelUI-fxa-unverified-instruction-box">
727
<image class="fxaGraphicMail"/>
728
<label class="PanelUI-fxa-signin-instruction-callout">&fxa.unverified.callout.label;</label>
729
<label class="PanelUI-fxa-signin-instruction-label">&fxa.unverified.description.label;</label>
730
<toolbarbutton class="PanelUI-fxa-signin-button"
731
label="&fxa.unverified.button.label;"
732
oncommand="gSync.openPrefsFromFxaMenu('unver_sync_settings', this);"/>
733
</vbox>
734
<vbox id="PanelUI-fxa-menu">
735
<hbox flex="1" align="center" class="fxa-avatar-subpanel">
736
<image role="presentation" id="fxa-menu-avatar"/>
737
<vbox flex="1">
738
<label class="fxa-avatar-subpanel-description" >&fxa.menu.signedInAs.label;</label>
739
<label id="fxa-menu-email"></label>
740
</vbox>
741
</hbox>
742
<toolbarseparator/>
743
<toolbarbutton id="PanelUI-fxa-menu-sendtab-button"
744
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
745
closemenu="none"
746
oncommand="gSync.showSendToDeviceViewFromFxaMenu(this);"/>
747
<toolbarbutton id="PanelUI-fxa-menu-remotetabs-button"
748
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
749
label="&appMenuRemoteTabs.label;"
750
closemenu="none"
751
oncommand="gSync.showRemoteTabsFromFxaMenu(this);"/>
752
<toolbarbutton id="PanelUI-fxa-menu-view-sidebar"
753
class="subviewbutton subviewbutton-iconic"
754
label="&appMenuRemoteTabs.sidebar.label;"
755
oncommand="gSync.showSidebarFromFxaMenu(this);">
756
<observes element="sidebar-box" attribute="positionend"/>
757
</toolbarbutton>
758
<toolbarseparator/>
759
<toolbarbutton class="subviewbutton"
760
label="&fxa.menu.connectAnotherDevice2.label;"
761
oncommand="gSync.openConnectAnotherDeviceFromFxaMenu(this);"/>
762
<toolbarbutton class="subviewbutton"
763
label="&fxa.menu.manageAccount.label;"
764
oncommand="gSync.openFxAManagePageFromFxaMenu(this);"/>
765
<toolbarbutton class="subviewbutton"
766
label="&fxa.menu.syncSettings.label;"
767
oncommand="gSync.openPrefsFromFxaMenu('sync_settings', this);"/>
768
<toolbarseparator/>
769
<toolbarbutton id="PanelUI-fxa-menu-syncnow-button"
770
label="&syncSyncNowItem.label;"
771
syncinglabel="&syncSyncNowItemSyncing.label;"
772
class="subviewbutton subviewbutton-iconic"
773
oncommand="gSync.doSyncFromFxaMenu(this);"
774
closemenu="none"/>
775
</vbox>
776
</vbox>
777
</panelview>
778
<!-- This panelview is used to contain the dynamically created buttons for send tab to devices -->
779
<panelview id="PanelUI-sendTabToDevice" flex="1" class="PanelUI-subView">
780
<vbox class="panel-subview-body">
781
<toolbarbutton id="PanelUI-sendTabToDevice-syncingDevices" class="subviewbutton subviewbutton-iconic pageAction-sendToDevice-notReady"
782
label="&sendToDevice.syncNotReady.label;"
783
disabled="true"/>
784
</vbox>
785
</panelview>
786
787
<panelview id="PanelUI-bookmarkingTools" class="PanelUI-subView">
788
<vbox class="panel-subview-body">
789
<toolbarbutton id="panelMenu_toggleBookmarksMenu"
790
class="subviewbutton subviewbutton-iconic"
791
label-show="&addBookmarksMenu.label;"
792
label-hide="&removeBookmarksMenu.label;"
793
oncommand="BookmarkingUI.toggleMenuButtonInToolbar(this);"/>
794
<toolbarbutton id="panelMenu_viewBookmarksSidebar"
795
class="subviewbutton subviewbutton-iconic"
796
label-show="&viewBookmarksSidebar2.label;"
797
label-hide="&hideBookmarksSidebar.label;"
798
key="viewBookmarksSidebarKb"
799
oncommand="SidebarUI.toggle('viewBookmarksSidebar', this);">
800
<observes element="sidebar-box" attribute="positionend"/>
801
</toolbarbutton>
802
<toolbarbutton id="panelMenu_viewBookmarksToolbar"
803
class="subviewbutton subviewbutton-iconic"
804
label-show="&viewBookmarksToolbar.label;"
805
label-hide="&hideBookmarksToolbar.label;"
806
oncommand="BookmarkingUI.toggleBookmarksToolbar();"/>
807
</vbox>
808
</panelview>
809
810
<panelview id="PanelUI-whatsNew" class="PanelUI-subView">
811
<vbox class="panel-subview-body">
812
<box id="PanelUI-whatsNew-title" class="panel-header">
813
<label/>
814
</box>
815
<toolbaritem id="PanelUI-whatsNew-content"
816
orient="vertical"
817
smoothscroll="false"
818
flatList="true"
819
tooltip="bhTooltip">
820
<html:div id="PanelUI-whatsNew-message-container">
821
<!-- What's New messages will be rendered here -->
822
</html:div>
823
</toolbaritem>
824
</vbox>
825
</panelview>
826
</panelmultiview>
827
</panel>
828
829
<panel id="downloads-button-autohide-panel"
830
role="group"
831
type="arrow"
832
hidden="true"
833
onpopupshown="gCustomizeMode._downloadPanelAutoHideTimeout = setTimeout(() => event.target.hidePopup(), 4000);"
834
onmouseover="clearTimeout(gCustomizeMode._downloadPanelAutoHideTimeout);"
835
onmouseout="gCustomizeMode._downloadPanelAutoHideTimeout = setTimeout(() => event.target.hidePopup(), 2000);"
836
onpopuphidden="clearTimeout(gCustomizeMode._downloadPanelAutoHideTimeout);"
837
>
838
<checkbox id="downloads-button-autohide-checkbox"
839
label="&customizeMode.autoHideDownloadsButton.label;" checked="true"
840
oncommand="gCustomizeMode.onDownloadsAutoHideChange(event)"/>
841
</panel>
842
843
<panel id="extension-notification-panel"
844
role="group"
845
type="arrow"
846
hidden="true"
847
flip="slide"
848
position="bottomcenter topright"
849
tabspecific="true">
850
<popupnotification id="extension-new-tab-notification"
851
class="extension-controlled-notification"
852
popupid="extension-new-tab"
853
hidden="true"
854
label="&newTabControlled.header.message;"
855
buttonlabel="&newTabControlled.keepButton.label;"
856
buttonaccesskey="&newTabControlled.keepButton.accesskey;"
857
secondarybuttonlabel="&newTabControlled.disableButton.label;"
858
secondarybuttonaccesskey="&newTabControlled.disableButton.accesskey;"
859
closebuttonhidden="true"
860
dropmarkerhidden="true"
861
checkboxhidden="true">
862
<popupnotificationcontent orient="vertical">
863
<description id="extension-new-tab-notification-description"/>
864
</popupnotificationcontent>
865
</popupnotification>
866
<popupnotification id="extension-homepage-notification"
867
class="extension-controlled-notification"
868
popupid="extension-homepage"
869
hidden="true"
870
label="&homepageControlled.header.message;"
871
buttonlabel="&homepageControlled.keepButton.label;"
872
buttonaccesskey="&homepageControlled.keepButton.accesskey;"
873
secondarybuttonlabel="&homepageControlled.disableButton.label;"
874
secondarybuttonaccesskey="&homepageControlled.disableButton.accesskey;"
875
closebuttonhidden="true"
876
dropmarkerhidden="true"
877
checkboxhidden="true">
878
<popupnotificationcontent orient="vertical">
879
<description id="extension-homepage-notification-description"/>
880
</popupnotificationcontent>
881
</popupnotification>
882
<popupnotification id="extension-tab-hide-notification"
883
class="extension-controlled-notification"
884
popupid="extension-tab-hide"
885
hidden="true"
886
label="&tabHideControlled.header.message;"
887
buttonlabel="&tabHideControlled.keepButton.label;"
888
buttonaccesskey="&tabHideControlled.keepButton.accesskey;"
889
secondarybuttonlabel="&tabHideControlled.disableButton.label;"
890
secondarybuttonaccesskey="&tabHideControlled.disableButton.accesskey;"
891
closebuttonhidden="true"
892
dropmarkerhidden="true"
893
checkboxhidden="true">
894
<popupnotificationcontent orient="vertical">
895
<description id="extension-tab-hide-notification-description"/>
896
</popupnotificationcontent>
897
</popupnotification>
898
</panel>