summaryrefslogtreecommitdiffstats
path: root/comm/suite/components/helpviewer/content/helpContextOverlay.xul
blob: a84c9b940f59a7ca2ad6e237c8192fc3d8300288 (plain)
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
<?xml version="1.0"?> 
# 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/.

<!DOCTYPE overlay [
    <!ENTITY % helpDTD SYSTEM "chrome://help/locale/help.dtd">
    %helpDTD;
]>
<overlay id="contentAreaContextOverlay"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

# Help Window's right-click menu
  <popupset id="contentAreaContextSet">
    <menupopup id="contentAreaContextMenu"
               onpopupshowing="goUpdateCommand('cmd_copy')">
      <menuitem id="context-back"
                label="&backButton.label;"
                accesskey="&backButton.accesskey;"
                observes="canGoBack"
                oncommand="goBack()"/>
      <menuitem id="context-forward"
                label="&forwardButton.label;"
                accesskey="&forwardButton.accesskey;"
                observes="canGoForward"
                oncommand="goForward()"/>
      <menuseparator/>
      <menuitem id="context-copy"
                label="&copyCmd.label;"
                accesskey="&copyCmd.accesskey;"
                command="cmd_copy"
                disabled="true"/>
      <menuitem id="context-selectall"
                label="&selectAllCmd.label;"
                accesskey="&selectAllCmd.accesskey;"
                command="cmd_selectAll"/>
      <menuseparator/>
      <menuitem id="zoom-in"
      	        label="&fullZoomEnlargeBtn.label;"
      	        accesskey="&fullZoomEnlargeBtn.accesskey;"
      	        oncommand="ZoomManager.enlarge();"/>
      <menuitem id="zoom-out"
      		label="&fullZoomReduceBtn.label;"
      		accesskey="&fullZoomReduceBtn.accesskey;"
      		oncommand="ZoomManager.reduce();"/>
#ifdef XP_WIN
#define HELP_ALWAYS_RAISED_TOGGLE
#endif
#ifdef HELP_ALWAYS_RAISED_TOGGLE
      <menuseparator/>
      <menuitem id="context-zlevel"
                type="checkbox"
                checked="true"
                persist="checked"
                label="&zLevel.label;"
                accesskey="&zLevel.accesskey;"
                oncommand="toggleZLevel(this);"/>
#endif
    </menupopup>
  </popupset>
</overlay>