Source code

Revision control

Other Tools

1
<?xml version="1.0"?>
2
3
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
4
# This Source Code Form is subject to the terms of the Mozilla Public
5
# License, v. 2.0. If a copy of the MPL was not distributed with this
6
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
8
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
9
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
10
<?xml-stylesheet href="chrome://browser/content/usercontext/usercontext.css" type="text/css"?>
11
12
<!DOCTYPE window [
13
<!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd">
14
%browserDTD;
15
<!ENTITY % textcontextDTD SYSTEM "chrome://global/locale/textcontext.dtd">
16
%textcontextDTD;
17
]>
18
19
<window id="webextpanels-window"
28
29
<commandset id="mainCommandset">
30
<command id="Browser:Back"
31
oncommand="getPanelBrowser().webNavigation.goBack();"
32
disabled="true"/>
33
<command id="Browser:Forward"
34
oncommand="getPanelBrowser().webNavigation.goForward();"
35
disabled="true"/>
36
<command id="Browser:Stop" oncommand="PanelBrowserStop();"/>
37
<command id="Browser:Reload" oncommand="PanelBrowserReload();"/>
38
</commandset>
39
40
<popupset id="mainPopupSet">
41
<tooltip id="aHTMLTooltip" page="true"/>
42
43
<panel is="autocomplete-richlistbox-popup"
44
type="autocomplete-richlistbox"
45
id="PopupAutoComplete"
46
noautofocus="true"
47
hidden="true"
48
overflowpadding="4"
49
norolluponanchor="true" />
50
51
<menupopup id="contentAreaContextMenu" pagemenu="start"
52
onpopupshowing="if (event.target != this)
53
return true;
54
gContextMenu = new nsContextMenu(this, event.shiftKey);
55
if (gContextMenu.shouldDisplay)
56
document.popupNode = this.triggerNode;
57
return gContextMenu.shouldDisplay;"
58
onpopuphiding="if (event.target != this)
59
return;
60
gContextMenu.hiding();
61
gContextMenu = null;">
62
#include browser-context.inc
63
</menupopup>
64
65
<!-- for select dropdowns. The menupopup is what shows the list of options,
66
and the popuponly menulist makes things like the menuactive attributes
67
work correctly on the menupopup. ContentSelectDropdown expects the
68
popuponly menulist to be its immediate parent. -->
69
<menulist popuponly="true" id="ContentSelectDropdown" hidden="true">
70
<menupopup rolluponmousewheel="true"
71
activateontab="true" position="after_start"
72
level="parent"
73
#ifdef XP_WIN
74
consumeoutsideclicks="false" ignorekeys="shortcuts"
75
#endif
76
/>
77
</menulist>
78
</popupset>
79
</window>