1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
|
# 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/.
<popupset id="mainPopupSet">
<menupopup id="tabContextMenu"
onpopupshowing="if (event.target == this) TabContextMenu.updateContextMenu(this);"
onpopuphidden="if (event.target == this) TabContextMenu.contextTab = null;">
<menuitem id="context_openANewTab" data-lazy-l10n-id="tab-context-new-tab"
oncommand="gBrowser.addAdjacentNewTab(TabContextMenu.contextTab)"/>
<menuseparator/>
<menuitem id="context_reloadTab" data-lazy-l10n-id="reload-tab"
oncommand="gBrowser.reloadTab(TabContextMenu.contextTab);"/>
<menuitem id="context_reloadSelectedTabs" data-lazy-l10n-id="reload-tabs" hidden="true"
oncommand="gBrowser.reloadMultiSelectedTabs();"/>
<menuitem id="context_playTab" data-lazy-l10n-id="tab-context-play-tab" hidden="true"
oncommand="TabContextMenu.contextTab.resumeDelayedMedia();"/>
<menuitem id="context_playSelectedTabs" data-lazy-l10n-id="tab-context-play-tabs" hidden="true"
oncommand="gBrowser.resumeDelayedMediaOnMultiSelectedTabs(TabContextMenu.contextTab);"/>
<menuitem id="context_toggleMuteTab" oncommand="TabContextMenu.contextTab.toggleMuteAudio();"/>
<menuitem id="context_toggleMuteSelectedTabs" hidden="true"
oncommand="gBrowser.toggleMuteAudioOnMultiSelectedTabs(TabContextMenu.contextTab);"/>
<menuitem id="context_pinTab" data-lazy-l10n-id="pin-tab"
oncommand="gBrowser.pinTab(TabContextMenu.contextTab);"/>
<menuitem id="context_unpinTab" data-lazy-l10n-id="unpin-tab" hidden="true"
oncommand="gBrowser.unpinTab(TabContextMenu.contextTab);"/>
<menuitem id="context_pinSelectedTabs" data-lazy-l10n-id="pin-selected-tabs" hidden="true"
oncommand="gBrowser.pinMultiSelectedTabs();"/>
<menuitem id="context_unpinSelectedTabs" data-lazy-l10n-id="unpin-selected-tabs" hidden="true"
oncommand="gBrowser.unpinMultiSelectedTabs();"/>
<menuitem id="context_duplicateTab" data-lazy-l10n-id="duplicate-tab"
oncommand="duplicateTabIn(TabContextMenu.contextTab, 'tab');"/>
<menuitem id="context_duplicateTabs" data-lazy-l10n-id="duplicate-tabs"
oncommand="TabContextMenu.duplicateSelectedTabs();"/>
<menuseparator/>
<menuitem id="context_bookmarkSelectedTabs"
hidden="true"
data-lazy-l10n-id="bookmark-selected-tabs"
oncommand="PlacesUIUtils.showBookmarkPagesDialog(PlacesCommandHook.uniqueSelectedPages);"/>
<menuitem id="context_bookmarkTab"
data-lazy-l10n-id="tab-context-bookmark-tab"
oncommand="PlacesUIUtils.showBookmarkPagesDialog(PlacesCommandHook.getUniquePages([TabContextMenu.contextTab]));"/>
<menu id="context_moveTabOptions"
data-lazy-l10n-id="tab-context-move-tabs"
data-l10n-args='{"tabCount": 1}'>
<menupopup id="moveTabOptionsMenu">
<menuitem id="context_moveToStart"
data-lazy-l10n-id="move-to-start"
tbattr="tabbrowser-multiple-visible"
oncommand="gBrowser.moveTabsToStart(TabContextMenu.contextTab);"/>
<menuitem id="context_moveToEnd"
data-lazy-l10n-id="move-to-end"
tbattr="tabbrowser-multiple-visible"
oncommand="gBrowser.moveTabsToEnd(TabContextMenu.contextTab);"/>
<menuitem id="context_openTabInWindow" data-lazy-l10n-id="move-to-new-window"
tbattr="tabbrowser-multiple-visible"
oncommand="gBrowser.replaceTabsWithWindow(TabContextMenu.contextTab);"/>
</menupopup>
</menu>
<menu id="context_sendTabToDevice"
class="sync-ui-item"
data-lazy-l10n-id="tab-context-send-tabs-to-device"
data-l10n-args='{"tabCount": 1}'>
<menupopup id="context_sendTabToDevicePopupMenu"
onpopupshowing="gSync.populateSendTabToDevicesMenu(event.target, TabContextMenu.contextTab.linkedBrowser.currentURI, TabContextMenu.contextTab.linkedBrowser.contentTitle, TabContextMenu.contextTab.multiselected);"/>
</menu>
<menu id="context_reopenInContainer"
data-lazy-l10n-id="tab-context-open-in-new-container-tab"
hidden="true">
<menupopup oncommand="TabContextMenu.reopenInContainer(event);"
onpopupshowing="TabContextMenu.createReopenInContainerMenu(event);"/>
</menu>
<menuitem id="context_selectAllTabs" data-lazy-l10n-id="select-all-tabs"
oncommand="gBrowser.selectAllTabs();"/>
<menuseparator/>
<menuitem id="context_closeTab"
data-lazy-l10n-id="tab-context-close-n-tabs"
data-l10n-args='{"tabCount": 1}'
oncommand="TabContextMenu.closeContextTabs();"/>
<menu id="context_closeTabOptions"
data-lazy-l10n-id="tab-context-close-multiple-tabs">
<menupopup id="closeTabOptions">
<menuitem id="context_closeTabsToTheStart" data-lazy-l10n-id="close-tabs-to-the-start"
oncommand="gBrowser.removeTabsToTheStartFrom(TabContextMenu.contextTab, {animate: true});"/>
<menuitem id="context_closeTabsToTheEnd" data-lazy-l10n-id="close-tabs-to-the-end"
oncommand="gBrowser.removeTabsToTheEndFrom(TabContextMenu.contextTab, {animate: true});"/>
<menuitem id="context_closeOtherTabs" data-lazy-l10n-id="close-other-tabs"
oncommand="gBrowser.removeAllTabsBut(TabContextMenu.contextTab);"/>
</menupopup>
</menu>
<menuitem id="context_undoCloseTab"
data-lazy-l10n-id="tab-context-reopen-closed-tabs"
data-l10n-args='{"tabCount": 1}'
observes="History:UndoCloseTab"/>
<menuseparator contexttype="fullscreen"/>
<menuitem class="fullscreen-context-autohide"
contexttype="fullscreen"
type="checkbox"
data-lazy-l10n-id="full-screen-autohide"
oncommand="FullScreen.setAutohide();"/>
<menuitem contexttype="fullscreen"
data-lazy-l10n-id="full-screen-exit"
oncommand="BrowserFullScreen();"/>
</menupopup>
<!-- bug 415444/582485: event.stopPropagation is here for the cloned version
of this menupopup, to prevent already-handled clicks on menu items from
propagating to the back or forward button.
-->
<menupopup id="backForwardMenu"
onpopupshowing="return FillHistoryMenu(event.target);"
oncommand="gotoHistoryIndex(event); event.stopPropagation();"/>
<tooltip id="aHTMLTooltip" page="true"/>
<tooltip id="remoteBrowserTooltip"/>
<menupopup id="new-tab-button-popup"
onpopupshowing="return CreateContainerTabMenu(event);"/>
<!-- for search and content formfill/pw manager -->
<panel is="autocomplete-richlistbox-popup"
type="autocomplete-richlistbox"
id="PopupAutoComplete"
role="group"
noautofocus="true"
hidden="true"
overflowpadding="4"
norolluponanchor="true"
nomaxresults="true" />
<!-- for search with one-off buttons -->
<panel is="search-autocomplete-richlistbox-popup"
type="autocomplete-richlistbox"
id="PopupSearchAutoComplete"
orient="vertical"
role="group"
noautofocus="true"
hidden="true" />
<html:template id="printPreviewStackTemplate">
<stack class="previewStack" rendering="true" flex="1" previewtype="primary">
<vbox class="previewRendering" flex="1">
<h1 class="print-pending-label" data-l10n-id="printui-loading"></h1>
</vbox>
</stack>
</html:template>
<html:template id="screenshotsPagePanelTemplate">
<box id="screenshotsPagePanel" hidden="true">
<screenshots-buttons></screenshots-buttons>
</box>
</html:template>
<html:template id="invalidFormTemplate">
<!-- for invalid form error message -->
<panel id="invalid-form-popup" type="arrow" orient="vertical" noautofocus="true" level="parent" locationspecific="true">
<description/>
</panel>
</html:template>
<html:template id="editBookmarkPanelTemplate">
<panel id="editBookmarkPanel"
class="panel-no-padding"
type="arrow"
orient="vertical"
ignorekeys="true"
hidden="true"
tabspecific="true"
aria-labelledby="editBookmarkPanelTitle">
<box class="panel-header">
<html:h1>
<html:span id="editBookmarkPanelTitle"/>
</html:h1>
</box>
<toolbarseparator id="editBookmarkHeaderSeparator"></toolbarseparator>
<vbox class="panel-subview-body">
#include ../../components/places/content/editBookmarkPanel.inc.xhtml
<vbox id="editBookmarkPanelBottomContent"
flex="1">
<checkbox id="editBookmarkPanel_showForNewBookmarks"
data-l10n-id="bookmark-panel-show-editor-checkbox"
oncommand="StarUI.onShowForNewBookmarksCheckboxCommand();"/>
</vbox>
<html:moz-button-group
class="panel-footer"
data-l10n-id="bookmark-panel"
data-l10n-attrs="style">
<button id="editBookmarkPanelDoneButton"
class="footer-button"
data-l10n-id="bookmark-panel-save-button"
default="true"
oncommand="StarUI.panel.hidePopup();"/>
<button id="editBookmarkPanelRemoveButton"
class="footer-button"
oncommand="StarUI.removeBookmarkButtonCommand();"/>
</html:moz-button-group>
</vbox>
</panel>
</html:template>
<html:template id="UITourTooltipTemplate">
<!-- UI tour experience -->
<panel id="UITourTooltip"
type="arrow"
noautofocus="true"
noautohide="true"
align="start"
orient="vertical"
role="alert">
<vbox>
<hbox id="UITourTooltipBody">
<image id="UITourTooltipIcon"/>
<vbox flex="1">
<hbox id="UITourTooltipTitleContainer">
<label id="UITourTooltipTitle" flex="1"/>
<toolbarbutton id="UITourTooltipClose" class="close-icon"
data-l10n-id="ui-tour-info-panel-close"/>
</hbox>
<description id="UITourTooltipDescription" flex="1"/>
</vbox>
</hbox>
<hbox id="UITourTooltipButtons" flex="1" align="center"/>
</vbox>
</panel>
</html:template>
<html:template id="UITourHighlightTemplate">
<!-- type="default" forces frames to be created so that the panel's size can be determined -->
<panel id="UITourHighlightContainer"
type="default"
noautofocus="true"
noautohide="true"
flip="none"
consumeoutsideclicks="false">
<box id="UITourHighlight"></box>
</panel>
</html:template>
<html:template id="dialogStackTemplate">
<stack class="dialogStack tab-dialog-box" hidden="true">
<vbox class="dialogTemplate dialogOverlay" topmost="true" hidden="true">
<hbox class="dialogBox">
<browser class="dialogFrame"
autoscroll="false"
disablehistory="true"/>
</hbox>
</vbox>
</stack>
</html:template>
<menupopup id="sidebarMenu-popup"
class="toolbar-menupopup"
hidden="true"
position="bottomleft topleft">
<menuitem id="sidebar-switcher-bookmarks"
data-l10n-id="sidebar-menu-bookmarks"
key="viewBookmarksSidebarKb"
oncommand="SidebarUI.show('viewBookmarksSidebar');"/>
<menuitem id="sidebar-switcher-history"
data-l10n-id="sidebar-menu-history"
key="key_gotoHistory"
oncommand="SidebarUI.show('viewHistorySidebar');"/>
<menuitem id="sidebar-switcher-tabs"
data-l10n-id="sidebar-menu-synced-tabs"
class="sync-ui-item"
oncommand="SidebarUI.show('viewTabsSidebar');"/>
<menuseparator/>
<!-- Extension toolbarbuttons go here. -->
<menuseparator id="sidebar-extensions-separator"/>
<menuitem id="sidebar-reverse-position"
oncommand="SidebarUI.reversePosition()"/>
<menuseparator/>
<menuitem data-l10n-id="sidebar-menu-close"
oncommand="SidebarUI.hide()"/>
</menupopup>
<menupopup id="toolbar-context-menu"
onpopupshowing="onViewToolbarsPopupShowing(event, document.getElementById('viewToolbarsMenuSeparator')); ToolbarContextMenu.updateDownloadsAutoHide(this); ToolbarContextMenu.updateDownloadsAlwaysOpenPanel(this); ToolbarContextMenu.updateExtension(this, event)">
<menuitem oncommand="ToolbarContextMenu.openAboutAddonsForContextAction(this.parentElement)"
data-lazy-l10n-id="toolbar-context-menu-manage-extension"
contexttype="toolbaritem"
class="customize-context-manageExtension"/>
<menuitem oncommand="ToolbarContextMenu.removeExtensionForContextAction(this.parentElement)"
data-lazy-l10n-id="toolbar-context-menu-remove-extension"
contexttype="toolbaritem"
class="customize-context-removeExtension"/>
<menuitem oncommand="ToolbarContextMenu.reportExtensionForContextAction(this.parentElement, 'toolbar_context_menu')"
data-lazy-l10n-id="toolbar-context-menu-report-extension"
contexttype="toolbaritem"
class="customize-context-reportExtension"/>
<menuseparator/>
<menuitem oncommand="gCustomizeMode.addToPanel(this.parentNode.triggerNode, 'toolbar-context-menu')"
data-lazy-l10n-id="toolbar-context-menu-pin-to-overflow-menu"
contexttype="toolbaritem"
class="customize-context-moveToPanel"/>
<menuitem id="toolbar-context-autohide-downloads-button"
oncommand="ToolbarContextMenu.onDownloadsAutoHideChange(event);"
type="checkbox"
data-lazy-l10n-id="toolbar-context-menu-auto-hide-downloads-button-2"
contexttype="toolbaritem"/>
<menuitem oncommand="gCustomizeMode.removeFromArea(this.parentNode.triggerNode, 'toolbar-context-menu')"
data-lazy-l10n-id="toolbar-context-menu-remove-from-toolbar"
contexttype="toolbaritem"
class="customize-context-removeFromToolbar"/>
<menuitem oncommand="gUnifiedExtensions.onPinToToolbarChange(this.parentElement, event);"
data-lazy-l10n-id="toolbar-context-menu-pin-to-toolbar"
type="checkbox"
contexttype="toolbaritem"
class="customize-context-pinToToolbar"/>
<menuseparator id="toolbarDownloadsAnchorMenuSeparator"/>
<menuitem id="toolbar-context-always-open-downloads-panel"
oncommand="ToolbarContextMenu.onDownloadsAlwaysOpenPanelChange(event);"
type="checkbox"
data-lazy-l10n-id="toolbar-context-menu-always-open-downloads-panel"
contexttype="toolbaritem"/>
<menuitem id="toolbar-context-openANewTab"
contexttype="tabbar"
command="cmd_newNavigatorTab"
data-lazy-l10n-id="toolbar-context-menu-new-tab"/>
<menuseparator id="toolbarNavigatorItemsMenuSeparator"/>
<menuitem id="toolbar-context-reloadSelectedTab"
contexttype="tabbar"
oncommand="gBrowser.reloadMultiSelectedTabs();"
data-lazy-l10n-id="toolbar-context-menu-reload-selected-tab"/>
<menuitem id="toolbar-context-reloadSelectedTabs"
contexttype="tabbar"
oncommand="gBrowser.reloadMultiSelectedTabs();"
data-lazy-l10n-id="toolbar-context-menu-reload-selected-tabs"/>
<menuitem id="toolbar-context-bookmarkSelectedTab"
contexttype="tabbar"
oncommand="PlacesUIUtils.showBookmarkPagesDialog(PlacesCommandHook.uniqueSelectedPages);"
data-lazy-l10n-id="toolbar-context-menu-bookmark-selected-tab"/>
<menuitem id="toolbar-context-bookmarkSelectedTabs"
contexttype="tabbar"
oncommand="PlacesUIUtils.showBookmarkPagesDialog(PlacesCommandHook.uniqueSelectedPages);"
data-lazy-l10n-id="toolbar-context-menu-bookmark-selected-tabs"/>
<menuitem id="toolbar-context-selectAllTabs"
contexttype="tabbar"
oncommand="gBrowser.selectAllTabs();"
data-lazy-l10n-id="toolbar-context-menu-select-all-tabs"/>
<menuitem id="toolbar-context-undoCloseTab"
contexttype="tabbar"
data-lazy-l10n-id="toolbar-context-menu-reopen-closed-tabs"
observes="History:UndoCloseTab"/>
<menuseparator id="toolbarItemsMenuSeparator"/>
<menuseparator id="viewToolbarsMenuSeparator"/>
<!-- XXXgijs: we're using oncommand handler here to avoid the event being
redirected to the command element, thus preventing
listeners on the menupopup or further up the tree from
seeing the command event pass by. The observes attribute is
here so that the menuitem is still disabled and re-enabled
correctly. -->
<menuitem oncommand="gCustomizeMode.enter()"
observes="cmd_CustomizeToolbars"
class="viewCustomizeToolbar"
data-lazy-l10n-id="toolbar-context-menu-view-customize-toolbar-2"/>
<menuseparator contexttype="fullscreen"/>
<menuitem class="fullscreen-context-autohide"
contexttype="fullscreen"
type="checkbox"
data-lazy-l10n-id="full-screen-autohide"
oncommand="FullScreen.setAutohide();"/>
<menuitem contexttype="fullscreen"
data-lazy-l10n-id="full-screen-exit"
oncommand="BrowserFullScreen();"/>
</menupopup>
<menupopup id="blockedPopupOptions"
onpopupshowing="gPopupBlockerObserver.fillPopupList(event);"
onpopuphiding="gPopupBlockerObserver.onPopupHiding(event);">
<menuitem id="blockedPopupAllowSite"
oncommand="gPopupBlockerObserver.toggleAllowPopupsForSite(event);"/>
<menuitem
data-l10n-id="edit-popup-settings"
oncommand="gPopupBlockerObserver.editPopupSettings();"/>
<menuitem id="blockedPopupDontShowMessage"
data-l10n-id="popups-infobar-dont-show-message"
type="checkbox"
oncommand="gPopupBlockerObserver.dontShowMessage();"/>
<menuseparator id="blockedPopupsSeparator"/>
</menupopup>
<menupopup id="contentAreaContextMenu"
# read by macOS cocoa code to enable the "services" menu here:
showservicesmenu="true"
onpopupshowing="if (event.target != this)
return true;
gContextMenu = new nsContextMenu(this, event.shiftKey);
if (gContextMenu.shouldDisplay)
updateEditUIVisibility();
return gContextMenu.shouldDisplay;"
onpopuphiding="if (event.target != this)
return;
gContextMenu.hiding(this);
gContextMenu = null;
updateEditUIVisibility();">
#include browser-context.inc
</menupopup>
<menupopup id="pictureInPictureToggleContextMenu">
<menuitem
id="context_HidePictureInPictureToggle"
data-l10n-id="picture-in-picture-hide-toggle"
oncommand="PictureInPicture.hideToggle();" />
<menuitem id="context_MovePictureInPictureToggle"
data-l10n-id="picture-in-picture-move-toggle-left"
oncommand="PictureInPicture.moveToggle();" />
</menupopup>
#include ../../components/places/content/placesContextMenu.inc.xhtml
<panel id="ctrlTab-panel" hidden="true" norestorefocus="true" level="top" orient="vertical">
<hbox id="ctrlTab-previews"/>
<hbox id="ctrlTab-showAll-container" pack="center"/>
</panel>
<html:tab-preview id="tabbrowser-tab-preview" hidden="true" />
<html:template id="pageActionPanelTemplate">
<panel id="pageActionPanel"
class="cui-widget-panel panel-no-padding"
role="group"
type="arrow"
hidden="true"
flip="slide"
position="bottomright topright"
tabspecific="true"
noautofocus="true">
<panelmultiview id="pageActionPanelMultiView"
mainViewId="pageActionPanelMainView"
viewCacheId="appMenu-viewCache">
<panelview id="pageActionPanelMainView"
context="pageActionContextMenu"
class="PanelUI-subView">
<vbox class="panel-subview-body"/>
</panelview>
</panelmultiview>
</panel>
</html:template>
<html:template id="confirmation-hint-wrapper">
<panel id="confirmation-hint"
role="alert"
type="arrow"
flip="slide"
position="bottomright topright"
tabspecific="true"
noautofocus="true">
<hbox id="confirmation-hint-checkmark-animation-container">
<image id="confirmation-hint-checkmark-image"/>
</hbox>
<vbox id="confirmation-hint-message-container">
<label id="confirmation-hint-message"/>
<label id="confirmation-hint-description"/>
</vbox>
</panel>
</html:template>
<menupopup id="pageActionContextMenu"
onpopupshowing="BrowserPageActions.onContextMenuShowing(event, this);">
<menuitem class="pageActionContextMenuItem extensionPinned extensionUnpinned manageExtensionItem"
oncommand="BrowserPageActions.openAboutAddonsForContextAction();"
data-l10n-id="page-action-manage-extension2"/>
<menuitem class="pageActionContextMenuItem extensionPinned extensionUnpinned removeExtensionItem"
oncommand="BrowserPageActions.removeExtensionForContextAction();"
data-l10n-id="page-action-remove-extension2"/>
</menupopup>
#include ../../components/places/content/bookmarksHistoryTooltip.inc.xhtml
<tooltip id="tabbrowser-tab-tooltip"
class="places-tooltip"
onpopupshowing="gBrowser.createTooltip(event);"
onpopuphiding="this.removeAttribute('position')">
<box class="places-tooltip-box">
<description class="tooltip-label places-tooltip-title"/>
<hbox>
<image id="places-tooltip-insecure-icon"></image>
<description crop="center" class="tooltip-label places-tooltip-uri uri-element"/>
</hbox>
</box>
</tooltip>
<tooltip id="back-button-tooltip">
<description id="back-button-tooltip-description" class="tooltip-label"/>
<description class="tooltip-label" data-l10n-id="navbar-tooltip-instruction"/>
</tooltip>
<tooltip id="forward-button-tooltip">
<description id="forward-button-tooltip-description" class="tooltip-label"/>
<description class="tooltip-label" data-l10n-id="navbar-tooltip-instruction"/>
</tooltip>
#include popup-notifications.inc
#include ../../components/customizableui/content/panelUI.inc.xhtml
#include ../../components/controlcenter/content/identityPanel.inc.xhtml
#include ../../components/controlcenter/content/permissionPanel.inc.xhtml
#include ../../components/controlcenter/content/protectionsPanel.inc.xhtml
#include ../../components/downloads/content/downloadsPanel.inc.xhtml
#include ../../components/translations/content/translationsPanel.inc.xhtml
#include browser-allTabsMenu.inc.xhtml
<tooltip id="dynamic-shortcut-tooltip"
onpopupshowing="UpdateDynamicShortcutTooltipText(this);"/>
<menupopup id="SyncedTabsSidebarContext">
<menuitem data-lazy-l10n-id="synced-tabs-context-open"
id="syncedTabsOpenSelected" where="current"/>
<menuitem data-lazy-l10n-id="synced-tabs-context-open-in-tab"
id="syncedTabsOpenSelectedInTab" where="tab"/>
<menu data-lazy-l10n-id="synced-tabs-context-open-in-container-tab"
id="syncedTabsOpenSelectedInContainerTab"
hidden="true">
<menupopup id="SyncedTabsOpenSelectedInContainerTabMenu"
onpopupshowing="createUserContextMenu(event, { isContextMenu: true });"/>
</menu>
<menuitem data-lazy-l10n-id="synced-tabs-context-open-in-window"
id="syncedTabsOpenSelectedInWindow" where="window"/>
<menuitem data-lazy-l10n-id="synced-tabs-context-open-in-private-window"
id="syncedTabsOpenSelectedInPrivateWindow" where="window" private="true"/>
<menuseparator/>
<menuitem data-lazy-l10n-id="synced-tabs-context-bookmark"
id="syncedTabsBookmarkSelected"/>
<menuitem data-lazy-l10n-id="synced-tabs-context-copy"
id="syncedTabsCopySelected"/>
<menuseparator/>
<menuitem data-lazy-l10n-id="synced-tabs-context-open-all-in-tabs"
id="syncedTabsOpenAllInTabs"/>
<menuitem data-lazy-l10n-id="synced-tabs-context-manage-devices"
id="syncedTabsManageDevices"
oncommand="gSync.openDevicesManagementPage('syncedtabs-sidebar');"/>
<menuitem data-lazy-l10n-id="synced-tabs-context-sync-now"
id="syncedTabsRefresh"/>
</menupopup>
<menupopup id="SyncedTabsSidebarTabsFilterContext"
class="textbox-contextmenu">
<menuitem data-l10n-id="text-action-undo"
cmd="cmd_undo"/>
<menuseparator/>
<menuitem data-l10n-id="text-action-cut"
cmd="cmd_cut"/>
<menuitem data-l10n-id="text-action-copy"
cmd="cmd_copy"/>
<menuitem data-l10n-id="text-action-paste"
cmd="cmd_paste"/>
<menuitem data-l10n-id="text-action-delete"
cmd="cmd_delete"/>
<menuseparator/>
<menuitem data-l10n-id="text-action-select-all"
cmd="cmd_selectAll"/>
<menuseparator/>
<menuitem data-lazy-l10n-id="synced-tabs-context-sync-now"
id="syncedTabsRefreshFilter"/>
</menupopup>
<hbox id="statuspanel" inactive="true" hidden="true">
<label id="statuspanel-label"
role="status"
aria-live="off"
flex="1"
crop="end"/>
</hbox>
#include swipe-navigation.inc.xhtml
<html:template id="sharing-tabs-warning-panel-template">
<panel id="sharing-tabs-warning-panel"
role="alert"
flip="slide"
type="arrow"
orient="vertical"
ignorekeys="true"
consumeoutsideclicks="never"
norolluponanchor="true"
onpopupshown="gSharedTabWarning.sharedTabWarningShown();">
<hbox type="window" align="start">
<image class="screen-icon popup-notification-icon"></image>
<vbox flex="1" pack="start">
<label>
<html:span id="sharing-warning-window-panel-header"
role="heading"
aria-level="1"
data-l10n-id="sharing-warning-window"/>
<html:span id="sharing-warning-screen-panel-header"
role="heading"
aria-level="1"
data-l10n-id="sharing-warning-screen"/>
</label>
<hbox align="center">
<button id="sharing-warning-proceed-to-tab" oncommand="gSharedTabWarning.allowSharedTabSwitch();" flex="1" data-l10n-id="sharing-warning-proceed-to-tab"/>
</hbox>
<hbox pack="start">
<checkbox id="sharing-warning-disable-for-session" data-l10n-id="sharing-warning-disable-for-session"/>
</hbox>
</vbox>
</hbox>
</panel>
</html:template>
#include ../../../toolkit/components/pictureinpicture/content/pictureInPicturePanel.inc.xhtml
<menupopup id="unified-extensions-context-menu"
onpopupshowing="gUnifiedExtensions.updateContextMenu(this, event)"
oncommand="gUnifiedExtensions.onContextMenuCommand(this, event)">
<menuitem oncommand="gUnifiedExtensions.onPinToToolbarChange(this.parentElement, event);"
data-lazy-l10n-id="unified-extensions-context-menu-pin-to-toolbar"
type="checkbox"
class="unified-extensions-context-menu-pin-to-toolbar"/>
<menuitem oncommand="gUnifiedExtensions.moveWidget(this.parentElement, 'up');"
data-lazy-l10n-id="unified-extensions-context-menu-move-widget-up"
class="unified-extensions-context-menu-move-widget-up"/>
<menuitem oncommand="gUnifiedExtensions.moveWidget(this.parentElement, 'down');"
data-lazy-l10n-id="unified-extensions-context-menu-move-widget-down"
class="unified-extensions-context-menu-move-widget-down"/>
<menuseparator class="unified-extensions-context-menu-management-separator"/>
<menuitem data-lazy-l10n-id="unified-extensions-context-menu-manage-extension"
class="unified-extensions-context-menu-manage-extension"
oncommand="gUnifiedExtensions.manageExtension(this.parentElement)" />
<menuitem data-lazy-l10n-id="unified-extensions-context-menu-remove-extension"
class="unified-extensions-context-menu-remove-extension"
oncommand="gUnifiedExtensions.removeExtension(this.parentElement)" />
<menuitem data-lazy-l10n-id="unified-extensions-context-menu-report-extension"
class="unified-extensions-context-menu-report-extension"
oncommand="gUnifiedExtensions.reportExtension(this.parentElement)" />
</menupopup>
<menupopup id="translations-panel-settings-menupopup"
onpopupshown="TranslationsPanel.handleSettingsPopupShownEvent()"
onpopuphidden="TranslationsPanel.handleSettingsPopupHiddenEvent()">
<menuitem class="always-offer-translations-menuitem"
data-l10n-id="translations-panel-settings-always-offer-translation"
type="checkbox"
checked="false"
autocheck="false"
oncommand="TranslationsPanel.onAlwaysOfferTranslations()"/>
<menuitem class="always-translate-language-menuitem"
data-l10n-id="translations-panel-settings-always-translate-unknown-language"
type="checkbox"
checked="false"
autocheck="false"
oncommand="TranslationsPanel.onAlwaysTranslateLanguage()"/>
<menuitem class="never-translate-language-menuitem"
data-l10n-id="translations-panel-settings-never-translate-unknown-language"
type="checkbox"
checked="false"
autocheck="false"
oncommand="TranslationsPanel.onNeverTranslateLanguage()"/>
<menuseparator/>
<menuitem class="never-translate-site-menuitem"
data-l10n-id="translations-panel-settings-never-translate-site"
type="checkbox"
checked="false"
autocheck="false"
oncommand="TranslationsPanel.onNeverTranslateSite()"/>
<menuseparator/>
<menuitem class="manage-languages-menuitem"
data-l10n-id="translations-panel-settings-manage-languages"
oncommand="TranslationsPanel.openManageLanguages()"/>
<menuitem data-l10n-id="translations-panel-settings-about2"
oncommand="TranslationsPanel.onAboutTranslations()"/>
</menupopup>
</popupset>
|