summaryrefslogtreecommitdiffstats
path: root/webbrowser/base/content/browser-charsetmenu.inc
blob: 628de1341fea97270a186ba4d4ee5725329ba49a (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
62
# 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/.

#filter substitution

#expand <menu id="__ID_PREFIX__charsetMenu"
    label="&charsetMenu.label;"
#ifndef OMIT_ACCESSKEYS
    accesskey="&charsetMenu.accesskey;"
#endif
    oncommand="MultiplexHandler(event)"
#ifdef OMIT_ACCESSKEYS
#expand    onpopupshowing="CharsetMenu.build(event, '__ID_PREFIX__');"
#else
#expand    onpopupshowing="CharsetMenu.build(event, '__ID_PREFIX__', true);"
#endif
    onpopupshown="UpdateMenus(event);">
  <menupopup>
    <menu label="&charsetMenuAutodet.label;"
#ifndef OMIT_ACCESSKEYS
          accesskey="&charsetMenuAutodet.accesskey;"
#endif
        >
      <menupopup>
        <menuitem type="radio"
                  name="detectorGroup"
#expand           id="__ID_PREFIX__chardet.off"
                  label="&charsetMenuAutodet.off.label;"
#ifndef OMIT_ACCESSKEYS
                  accesskey="&charsetMenuAutodet.off.accesskey;"
#endif
                  />
        <menuitem type="radio"
                  name="detectorGroup"
#expand           id="__ID_PREFIX__chardet.ja_parallel_state_machine"
                  label="&charsetMenuAutodet.ja.label;"
#ifndef OMIT_ACCESSKEYS
                  accesskey="&charsetMenuAutodet.ja.accesskey;"
#endif
                  />
        <menuitem type="radio"
                  name="detectorGroup"
#expand           id="__ID_PREFIX__chardet.ruprob"
                  label="&charsetMenuAutodet.ru.label;"
#ifndef OMIT_ACCESSKEYS
                  accesskey="&charsetMenuAutodet.ru.accesskey;"
#endif
                  />
        <menuitem type="radio"
                  name="detectorGroup"
#expand           id="__ID_PREFIX__chardet.ukprob"
                  label="&charsetMenuAutodet.uk.label;"
#ifndef OMIT_ACCESSKEYS
                  accesskey="&charsetMenuAutodet.uk.accesskey;"
#endif
                  />
      </menupopup>
    </menu>
    <menuseparator/>
  </menupopup>
</menu>