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
class="panel-no-padding"
7
role="group"
8
type="arrow"
9
noautofocus="true"
10
position="bottomcenter topright"
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 panel-no-padding"
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 panel-no-padding"
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
defaultlabel="&fxa.menu.signin.label;"
242
flex="1">
243
<image id="appMenu-fxa-avatar"/>
244
<toolbarbutton id="appMenu-fxa-label"
245
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
246
label="&fxa.menu.signin.label;"
247
closemenu="none"
248
oncommand="gSync.toggleAccountPanel('PanelUI-fxa', this, event)"/>
249
</toolbaritem>
250
<toolbarseparator class="sync-ui-item"/>
251
<toolbaritem>
252
<toolbarbutton id="appMenu-protection-report-button"
253
class="subviewbutton subviewbutton-iconic"
254
oncommand="gProtectionsHandler.openProtections();"
255
data-l10n-id="appmenuitem-protection-report-tooltip">
256
<image id="appMenu-protection-report-icon" class="toolbarbutton-icon"/>
257
<label id="appMenu-protection-report-text"
258
class="toolbarbutton-text"
259
data-l10n-id="appmenuitem-protection-report-title">
260
</label>
261
</toolbarbutton>
262
</toolbaritem>
263
<toolbarseparator id="appMenu-tp-separator"/>
264
<toolbarbutton id="appMenu-new-window-button"
265
class="subviewbutton subviewbutton-iconic"
266
label="&newNavigatorCmd.label;"
267
key="key_newNavigator"
268
command="cmd_newNavigator"/>
269
<toolbarbutton id="appMenu-private-window-button"
270
class="subviewbutton subviewbutton-iconic"
271
label="&newPrivateWindow.label;"
272
key="key_privatebrowsing"
273
command="Tools:PrivateBrowsing"/>
274
<toolbarbutton id="appMenuRestoreLastSession"
275
label="&appMenuHistory.restoreSession.label;"
276
class="subviewbutton subviewbutton-iconic"
277
command="Browser:RestoreLastSession"/>
278
<toolbarseparator/>
279
<toolbaritem id="appMenu-zoom-controls" class="toolbaritem-combined-buttons" closemenu="none">
280
<!-- Use a spacer, because panel sizing code gets confused when using CSS methods. -->
281
<spacer class="before-label"/>
282
<label value="&fullZoom.label;"/>
283
<!-- This spacer keeps the scrollbar from overlapping the view. -->
284
<spacer class="after-label"/>
285
<toolbarbutton id="appMenu-zoomReduce-button"
286
class="subviewbutton subviewbutton-iconic"
287
command="cmd_fullZoomReduce"
288
data-l10n-id="appmenuitem-zoom-reduce"
289
tooltip="dynamic-shortcut-tooltip"/>
290
<toolbarbutton id="appMenu-zoomReset-button"
291
class="subviewbutton"
292
command="cmd_fullZoomReset"
293
tooltip="dynamic-shortcut-tooltip"/>
294
<toolbarbutton id="appMenu-zoomEnlarge-button"
295
class="subviewbutton subviewbutton-iconic"
296
command="cmd_fullZoomEnlarge"
297
data-l10n-id="appmenuitem-zoom-enlarge"
298
tooltip="dynamic-shortcut-tooltip"/>
299
<toolbarseparator orient="vertical"/>
300
<toolbarbutton id="appMenu-fullscreen-button"
301
class="subviewbutton subviewbutton-iconic"
302
label="&fullScreenCmd.label;"
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
data-l10n-id="fxa-toolbar-sync-now"
495
syncinglabel="fxa-toolbar-sync-syncing-tabs"
496
class="syncNowBtn subviewbutton subviewbutton-iconic"
497
oncommand="gSync.doSync();"
498
onmouseover="gSync.refreshSyncButtonsTooltip();"
499
closemenu="none"/>
500
<menuseparator id="PanelUI-remotetabs-separator"/>
501
</vbox>
502
<deck id="PanelUI-remotetabs-deck">
503
<!-- Sync is ready to Sync and the "tabs" engine is enabled -->
504
<vbox id="PanelUI-remotetabs-tabspane">
505
<vbox id="PanelUI-remotetabs-tabslist"
506
showAllLabel="&appMenuRemoteTabs.showAll.label;"
507
showAllTooltipText="&appMenuRemoteTabs.showAll.tooltip;"
508
showMoreLabel="&appMenuRemoteTabs.showMore.label;"
509
showMoreTooltipText="&appMenuRemoteTabs.showMore.tooltip;"
510
notabsforclientlabel="&appMenuRemoteTabs.notabs.label;"
511
/>
512
</vbox>
513
<!-- Sync is ready to Sync but the "tabs" engine isn't enabled-->
514
<hbox id="PanelUI-remotetabs-tabsdisabledpane" pack="center" flex="1">
515
<vbox class="PanelUI-remotetabs-instruction-box" align="center">
516
<hbox pack="center">
517
<image class="fxaSyncIllustrationIssue"/>
518
</hbox>
519
<label class="PanelUI-remotetabs-instruction-label">&appMenuRemoteTabs.tabsnotsyncing.label;</label>
520
<hbox pack="center">
521
<toolbarbutton class="PanelUI-remotetabs-button"
522
label="&appMenuRemoteTabs.opensyncprefs.label;"
523
oncommand="gSync.openPrefs('synced-tabs');"/>
524
</hbox>
525
</vbox>
526
</hbox>
527
<!-- Sync is ready to Sync but we are still fetching the tabs to show -->
528
<vbox id="PanelUI-remotetabs-fetching">
529
<!-- Show intentionally blank panel, see bug 1239845 -->
530
</vbox>
531
<!-- Sync has only 1 (ie, this) device connected -->
532
<hbox id="PanelUI-remotetabs-nodevicespane" pack="center" flex="1">
533
<vbox class="PanelUI-remotetabs-instruction-box" align="center">
534
<hbox pack="center">
535
<image class="fxaSyncIllustrationIssue"/>
536
</hbox>
537
<label class="PanelUI-remotetabs-instruction-label">&appMenuRemoteTabs.noclients.subtitle;</label>
538
<toolbarbutton id="PanelUI-remotetabs-connect-device-button"
539
class="PanelUI-remotetabs-button"
540
label="&appMenuRemoteTabs.connectdevice.label;"
541
oncommand="gSync.openConnectAnotherDevice('synced-tabs');"/>
542
</vbox>
543
</hbox>
544
</deck>
545
</vbox>
546
<!-- a box to ensure contained boxes are centered horizonally -->
547
<hbox pack="center" flex="1">
548
<!-- When Sync is not configured -->
549
<vbox id="PanelUI-remotetabs-setupsync"
550
flex="1"
551
align="center"
552
class="PanelUI-remotetabs-instruction-box"
553
hidden="true">
554
<image class="fxaSyncIllustration"/>
555
<label class="PanelUI-remotetabs-instruction-label">&appMenuRemoteTabs.welcome.label;</label>
556
<toolbarbutton class="PanelUI-remotetabs-button"
557
label="&appMenuRemoteTabs.signintosync.label;"
558
oncommand="gSync.openPrefs('synced-tabs');"/>
559
</vbox>
560
<!-- When Sync is not enabled -->
561
<vbox id="PanelUI-remotetabs-syncdisabled"
562
flex="1"
563
align="center"
564
class="PanelUI-remotetabs-instruction-box"
565
hidden="true">
566
<image class="fxaSyncIllustration"/>
567
<label class="PanelUI-remotetabs-instruction-label">&appMenuRemoteTabs.welcome.label;</label>
568
<toolbarbutton class="PanelUI-remotetabs-button"
569
label="&appMenuRemoteTabs.turnonsync.label;"
570
oncommand="gSync.openPrefs('synced-tabs');"/>
571
</vbox>
572
<!-- When Sync needs re-authentication -->
573
<vbox id="PanelUI-remotetabs-reauthsync"
574
flex="1"
575
align="center"
576
class="PanelUI-remotetabs-instruction-box"
577
hidden="true">
578
<image class="fxaSyncIllustrationIssue"/>
579
<label class="PanelUI-remotetabs-instruction-label">&appMenuRemoteTabs.welcome.label;</label>
580
<toolbarbutton class="PanelUI-remotetabs-button"
581
label="&appMenuRemoteTabs.signintosync.label;"
582
oncommand="gSync.openPrefs('synced-tabs');"/>
583
</vbox>
584
<!-- When Sync needs verification -->
585
<vbox id="PanelUI-remotetabs-unverified"
586
flex="1"
587
align="center"
588
class="PanelUI-remotetabs-instruction-box"
589
hidden="true">
590
<image class="fxaSyncIllustrationIssue"/>
591
<label class="PanelUI-remotetabs-instruction-label">&appMenuRemoteTabs.unverified.label;</label>
592
<toolbarbutton class="PanelUI-remotetabs-button"
593
label="&appMenuRemoteTabs.opensyncprefs.label;"
594
oncommand="gSync.openPrefs('synced-tabs');"/>
595
</vbox>
596
</hbox>
597
</vbox>
598
</panelview>
599
600
<panelview id="PanelUI-bookmarks" flex="1" class="PanelUI-subView">
601
<vbox class="panel-subview-body">
602
<toolbarbutton id="panelMenuBookmarkThisPage"
603
class="subviewbutton subviewbutton-iconic"
604
command="Browser:AddBookmarkAs"
605
onclick="PanelUI.hide();"/>
606
<toolbarbutton id="panelMenu_bookmarkingTools"
607
label="&bookmarkingTools.label;"
608
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
609
closemenu="none"
610
oncommand="BookmarkingUI.showBookmarkingTools(this);"/>
611
<toolbarbutton id="panelMenu_searchBookmarks"
612
label="&searchBookmarks.label;"
613
class="subviewbutton subviewbutton-iconic"
614
oncommand="PlacesCommandHook.searchBookmarks(); PanelUI.hide();"/>
615
<toolbarseparator/>
616
<label id="panelMenu_recentBookmarks"
617
value="&recentBookmarks.label;"
618
class="subview-subheader"/>
619
<toolbaritem id="panelMenu_bookmarksMenu"
620
orient="vertical"
621
smoothscroll="false"
622
flatList="true"
623
tooltip="bhTooltip">
624
<!-- bookmarks menu items will go here -->
625
</toolbaritem>
626
</vbox>
627
<toolbarbutton id="panelMenu_showAllBookmarks"
628
label="&showAllBookmarks2.label;"
629
class="subviewbutton panel-subview-footer"
630
command="Browser:ShowAllBookmarks"
631
onclick="PanelUI.hide();"/>
632
</panelview>
633
634
<panelview id="PanelUI-containers" flex="1">
635
<vbox id="PanelUI-containersItems"/>
636
</panelview>
637
638
<panelview id="PanelUI-helpView" flex="1" class="PanelUI-subView">
639
<vbox id="PanelUI-helpItems" class="panel-subview-body"/>
640
</panelview>
641
642
<panelview id="PanelUI-developer" flex="1">
643
<vbox id="PanelUI-developerItems" class="panel-subview-body"/>
644
</panelview>
645
646
<panelview id="PanelUI-profiler" flex="1"/>
647
648
<panelview id="PanelUI-characterEncodingView" flex="1">
649
<vbox class="panel-subview-body">
650
<vbox id="PanelUI-characterEncodingView-pinned"
651
class="PanelUI-characterEncodingView-list"/>
652
<toolbarseparator/>
653
<vbox id="PanelUI-characterEncodingView-charsets"
654
class="PanelUI-characterEncodingView-list"/>
655
<toolbarseparator/>
656
<vbox>
657
<label id="PanelUI-characterEncodingView-autodetect-label"/>
658
<vbox id="PanelUI-characterEncodingView-autodetect"
659
class="PanelUI-characterEncodingView-list"/>
660
</vbox>
661
</vbox>
662
</panelview>
663
664
<panelview id="PanelUI-panicView" flex="1"
665
descriptionheightworkaround="true">
666
<!-- This is constructed in CustomizableWidgets.jsm -->
667
</panelview>
668
669
<panelview id="appMenu-moreView" title="&moreMenu.label;" class="PanelUI-subView">
670
<vbox class="panel-subview-body">
671
<toolbarbutton id="appMenu-taskmanager-button"
672
class="subviewbutton subviewbutton-iconic"
673
label="&taskManagerCmd.label;"
674
oncommand="switchToTabHavingURI('about:performance', true)"/>
675
<toolbarbutton id="appMenu-characterencoding-button"
676
class="subviewbutton subviewbutton-nav"
677
label="&charsetMenu2.label;"
678
closemenu="none"
679
oncommand="PanelUI.showSubView('PanelUI-characterEncodingView', this)"/>
680
<toolbarbutton id="appMenu-workoffline-button"
681
class="subviewbutton"
682
data-l10n-id="menu-file-go-offline"
683
type="checkbox"
684
command="cmd_toggleOfflineStatus"/>
685
</vbox>
686
</panelview>
687
<panelview id="appMenu-libraryView" class="PanelUI-subView">
688
<vbox class="panel-subview-body">
689
<toolbarbutton id="appMenu-library-bookmarks-button"
690
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
691
label="&bookmarksSubview.label;"
692
closemenu="none"
693
oncommand="BookmarkingUI.showSubView(this);"/>
694
<toolbarbutton id="appMenu-library-pocket-button"
695
class="subviewbutton subviewbutton-iconic"
696
label="&pocketMenuitem.label;"
697
oncommand="Pocket.openList(event)"/>
698
<toolbarbutton id="appMenu-library-history-button"
699
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
700
label="&historyMenu.label;"
701
closemenu="none"
702
oncommand="PanelUI.showSubView('PanelUI-history', this)"/>
703
<toolbarbutton id="appMenu-library-downloads-button"
704
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
705
label="&libraryDownloads.label;"
706
closemenu="none"
707
oncommand="DownloadsSubview.show(this);"/>
708
<toolbarbutton id="appMenu-library-remotetabs-button"
709
class="subviewbutton subviewbutton-iconic subviewbutton-nav sync-ui-item"
710
label="&appMenuRemoteTabs.label;"
711
closemenu="none"
712
oncommand="PanelUI.showSubView('PanelUI-remotetabs', this)"/>
713
<toolbarseparator hidden="true"/>
714
<label value="&appMenuRecentHighlights.label;"
715
hidden="true"
716
class="subview-subheader"/>
717
<toolbaritem id="appMenu-library-recentHighlights"
718
hidden="true"
719
orient="vertical"
720
smoothscroll="false"
721
flatList="true"
722
tooltip="bhTooltip">
723
<!-- Recent Highlights will go here -->
724
</toolbaritem>
725
</vbox>
726
</panelview>
727
728
<panelview id="PanelUI-fxa" title="&fxa.menu.account.label;" class="PanelUI-subView" descriptionheightworkaround="true">
729
<vbox id="PanelUI-fxa-menu" class="panel-subview-body">
730
<toolbarbutton id="fxa-manage-account-button" flex="1"
731
align="center"
732
class="fxa-menu-header subviewbutton"
733
oncommand="gSync.clickFxAMenuHeaderButton(this);">
734
<image role="presentation" id="fxa-menu-avatar"/>
735
<vbox flex="1">
736
<label id="fxa-menu-header-title"
737
defaultLabel="&fxa.menu.signin.label;">&fxa.menu.signin.label;</label>
738
<label id="fxa-menu-header-description"
739
crop="end"
740
defaultLabel="&fxa.menu.turnOnSync.label;">&fxa.menu.turnOnSync.label;</label>
741
</vbox>
742
</toolbarbutton>
743
<toolbarseparator/>
744
<toolbarbutton id="PanelUI-fxa-menu-sendtab-button"
745
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
746
closemenu="none"
747
oncommand="gSync.showSendToDeviceViewFromFxaMenu(this);"/>
748
<toolbarseparator/>
749
<!-- The `Connect Another Device` button is disabled by default until the user logs into Sync. -->
750
<toolbarbutton id="PanelUI-fxa-menu-connect-device-button"
751
class="subviewbutton subviewbutton-iconic"
752
label="&fxa.menu.connectAnotherDevice2.label;"
753
disabled="true"
754
oncommand="gSync.openConnectAnotherDeviceFromFxaMenu(this);"/>
755
<toolbarseparator/>
756
<!-- The `Sync Now` button is hidden by default until the user logs into Sync. -->
757
<toolbarbutton id="PanelUI-fxa-menu-syncnow-button"
758
data-l10n-id="fxa-toolbar-sync-now"
759
syncinglabel="fxa-toolbar-sync-syncing"
760
hidden="true"
761
class="syncNowBtn subviewbutton subviewbutton-iconic"
762
onmouseover="gSync.refreshSyncButtonsTooltip();"
763
oncommand="gSync.doSyncFromFxaMenu(this);"
764
closemenu="none"/>
765
<toolbarbutton id="PanelUI-fxa-menu-setup-sync-button"
766
class="subviewbutton subviewbutton-iconic"
767
label="&fxa.menu.setupSync.label;"
768
oncommand="gSync.openPrefsFromFxaMenu('sync_settings', this);"/>
769
<toolbarbutton id="PanelUI-fxa-menu-remotetabs-button"
770
class="subviewbutton subviewbutton-iconic subviewbutton-nav"
771
label="&appMenuRemoteTabs.label;"
772
closemenu="none"
773
oncommand="gSync.showRemoteTabsFromFxaMenu(this);"/>
774
<toolbarbutton id="PanelUI-fxa-menu-sync-prefs-button"
775
class="subviewbutton subviewbutton-iconic"
776
label="&fxa.menu.syncSettings2.label;"
777
hidden="true"
778
oncommand="gSync.openPrefsFromFxaMenu('sync_settings', this);"/>
779
<toolbarseparator/>
780
<toolbarbutton id="PanelUI-fxa-menu-logins-button"
781
class="subviewbutton subviewbutton-iconic"
782
label="&logins.label;"
783
oncommand="LoginHelper.openPasswordManager(window, { entryPoint: 'fxamenu' })"/>
784
<toolbarseparator id="fxa-menu-service-separator"/>
785
<label id="fxa-menu-service-label"
786
value="&fxa.menu.firefoxServices.label;"
787
class="subview-subheader"/>
788
<toolbarbutton id="PanelUI-fxa-menu-monitor-button"
789
class="subviewbutton subviewbutton-iconic"
790
label="&monitorFullName;"
791
type="open-to-new"
792
oncommand="gSync.openMonitorFromFxaMenu(this);"/>
793
<toolbarbutton id="PanelUI-fxa-menu-send-button"
794
class="subviewbutton subviewbutton-iconic"
795
label="&sendFullName;"
796
type="open-to-new"
797
oncommand="gSync.openSendFromFxaMenu(this);"/>
798
</vbox>
799
</panelview>
800
801
<panelview id="PanelUI-fxa-menu-account-panel" flex="1" title="&fxa.menu.settings.label;" class="PanelUI-subView" descriptionheightworkaround="true">
802
<vbox class="panel-subview-body">
803
<toolbarbutton id="PanelUI-fxa-menu-account-settings-button"
804
class="subviewbutton subviewbutton-iconic"
805
label="&fxa.menu.accountSettings.label;"
806
type="open-to-new"
807
oncommand="gSync.openFxAManagePageFromFxaMenu(this)"/>
808
<toolbarseparator/>
809
<label id="fxa-menu-device-name-label" class="subview-subheader"/>
810
<toolbarbutton id="PanelUI-fxa-menu-account-devices-button"
811
class="subviewbutton subviewbutton-iconic"
812
label="&fxa.menu.deviceSettings.label;"
813
oncommand="gSync.openPrefsFromFxaMenu('sync_settings', this);"/>
814
<toolbarseparator/>
815
<toolbarbutton id="PanelUI-fxa-menu-account-signout-button"
816
class="subviewbutton subviewbutton-iconic"
817
label="&fxa.menu.signOut.label;"
818
oncommand="gSync.disconnect();"/>
819
</vbox>
820
</panelview>
821
<!-- This panelview is used to contain the dynamically created buttons for send tab to devices -->
822
<panelview id="PanelUI-sendTabToDevice" flex="1" class="PanelUI-subView">
823
<vbox class="panel-subview-body">
824
<toolbarbutton id="PanelUI-sendTabToDevice-syncingDevices" class="subviewbutton subviewbutton-iconic pageAction-sendToDevice-notReady"
825
label="&sendToDevice.syncNotReady.label;"
826
disabled="true"/>
827
</vbox>
828
</panelview>
829
<panelview id="PanelUI-fxa-menu-sendtab-not-configured" flex="1" class="PanelUI-subView">
830
<vbox id="PanelUI-fxa-sendtab-not-configured" align="center" class="panel-subview-body">
831
<image class="fxaSendToDeviceLogo" role="presentation"/>
832
<label class="PanelUI-fxa-service-description-label">&fxa.service.sendTab.description;</label>
833
<toolbarbutton id="PanelUI-fxa-menu-sendtab-not-configured-button"
834
class="PanelUI-fxa-signin-button"
835
label="&fxa.menu.signin.label;"
836
oncommand="gSync.openPrefsFromFxaMenu('send_tab', this);"/>
837
</vbox>
838
</panelview>
839
<panelview id="PanelUI-fxa-menu-sendtab-no-devices" flex="1" class="PanelUI-subView">
840
<vbox id="PanelUI-fxa-sendtab-no-devices" align="center" class="panel-subview-body">
841
<image class="fxaSendToDeviceLogo" role="presentation"/>
842
<label class="PanelUI-fxa-service-description-label">&fxa.service.sendTab.description;</label>
843
<toolbarbutton id="PanelUI-fxa-menu-sendtab-connect-device-button"
844
class="PanelUI-fxa-signin-button"
845
label="&appMenuRemoteTabs.connectdevice.label;"
846
oncommand="gSync.openConnectAnotherDeviceFromFxaMenu(this);"/>
847
</vbox>
848
</panelview>
849
850
<panelview id="PanelUI-bookmarkingTools" class="PanelUI-subView">
851
<vbox class="panel-subview-body">
852
<toolbarbutton id="panelMenu_toggleBookmarksMenu"
853
class="subviewbutton subviewbutton-iconic"
854
label-show="&addBookmarksMenu.label;"
855
label-hide="&removeBookmarksMenu.label;"
856
oncommand="BookmarkingUI.toggleMenuButtonInToolbar(this);"/>
857
<toolbarbutton id="panelMenu_viewBookmarksSidebar"
858
class="subviewbutton subviewbutton-iconic"
859
label-show="&viewBookmarksSidebar2.label;"
860
label-hide="&hideBookmarksSidebar.label;"
861
key="viewBookmarksSidebarKb"
862
oncommand="SidebarUI.toggle('viewBookmarksSidebar', this);">
863
<observes element="sidebar-box" attribute="positionend"/>
864
</toolbarbutton>
865
<toolbarbutton id="panelMenu_viewBookmarksToolbar"
866
class="subviewbutton subviewbutton-iconic"
867
label-show="&viewBookmarksToolbar.label;"
868
label-hide="&hideBookmarksToolbar.label;"
869
oncommand="BookmarkingUI.toggleBookmarksToolbar();"/>
870
</vbox>
871
</panelview>
872
873
<panelview id="PanelUI-whatsNew" class="PanelUI-subView">
874
<vbox class="panel-subview-body">
875
<toolbaritem id="PanelUI-whatsNew-content"
876
orient="vertical"
877
smoothscroll="false">
878
<html:div id="PanelUI-whatsNew-message-container" role="document">
879
<!-- What's New messages will be rendered here -->
880
</html:div>
881
</toolbaritem>
882
</vbox>
883
</panelview>
884
</panelmultiview>
885
</panel>
886
887
<panel id="downloads-button-autohide-panel"
888
role="group"
889
type="arrow"
890
hidden="true"
891
onpopupshown="gCustomizeMode._downloadPanelAutoHideTimeout = setTimeout(() => event.target.hidePopup(), 4000);"
892
onmouseover="clearTimeout(gCustomizeMode._downloadPanelAutoHideTimeout);"
893
onmouseout="gCustomizeMode._downloadPanelAutoHideTimeout = setTimeout(() => event.target.hidePopup(), 2000);"
894
onpopuphidden="clearTimeout(gCustomizeMode._downloadPanelAutoHideTimeout);"
895
>
896
<checkbox id="downloads-button-autohide-checkbox"
897
label="&customizeMode.autoHideDownloadsButton.label;" checked="true"
898
oncommand="gCustomizeMode.onDownloadsAutoHideChange(event)"/>
899
</panel>
900
901
<panel id="extension-notification-panel"
902
class="popup-notification-panel panel-no-padding"
903
role="group"
904
type="arrow"
905
hidden="true"
906
flip="slide"
907
position="bottomcenter topright"
908
tabspecific="true">
909
<popupnotification id="extension-new-tab-notification"
910
class="extension-controlled-notification"
911
popupid="extension-new-tab"
912
hidden="true"
913
label="&newTabControlled.header.message;"
914
buttonlabel="&newTabControlled.keepButton.label;"
915
buttonaccesskey="&newTabControlled.keepButton.accesskey;"
916
secondarybuttonlabel="&newTabControlled.disableButton.label;"
917
secondarybuttonaccesskey="&newTabControlled.disableButton.accesskey;"
918
closebuttonhidden="true"
919
dropmarkerhidden="true"
920
checkboxhidden="true">
921
<popupnotificationcontent orient="vertical">
922
<description id="extension-new-tab-notification-description"/>
923
</popupnotificationcontent>
924
</popupnotification>
925
<popupnotification id="extension-homepage-notification"
926
class="extension-controlled-notification"
927
popupid="extension-homepage"
928
hidden="true"
929
label="&homepageControlled.header.message;"
930
buttonlabel="&homepageControlled.keepButton.label;"
931
buttonaccesskey="&homepageControlled.keepButton.accesskey;"
932
secondarybuttonlabel="&homepageControlled.disableButton.label;"
933
secondarybuttonaccesskey="&homepageControlled.disableButton.accesskey;"
934
closebuttonhidden="true"
935
dropmarkerhidden="true"
936
checkboxhidden="true">
937
<popupnotificationcontent orient="vertical">
938
<description id="extension-homepage-notification-description"/>
939
</popupnotificationcontent>
940
</popupnotification>
941
<popupnotification id="extension-tab-hide-notification"
942
class="extension-controlled-notification"
943
popupid="extension-tab-hide"
944
hidden="true"
945
label="&tabHideControlled.header.message;"
946
buttonlabel="&tabHideControlled.keepButton.label;"
947
buttonaccesskey="&tabHideControlled.keepButton.accesskey;"
948
secondarybuttonlabel="&tabHideControlled.disableButton.label;"
949
secondarybuttonaccesskey="&tabHideControlled.disableButton.accesskey;"
950
closebuttonhidden="true"
951
dropmarkerhidden="true"
952
checkboxhidden="true">
953
<popupnotificationcontent orient="vertical">
954
<description id="extension-tab-hide-notification-description"/>
955
</popupnotificationcontent>
956
</popupnotification>
957
</panel>