Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: trunk/src/chromeos/ime/input_methods.txt

Issue 12453021: Revert 190596 "Extract input_method_whitelist.{h|cc} from c/b/ch..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « trunk/src/chromeos/ime/input_method_whitelist_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # The list of input methods that we support. The input methods metadata is
2 # also defined here. We use this data for the following purposes.
3 #
4 # 1. Exclude unnecessary input methods. For example, we don't need
5 # "ja:anthy", and "zh:pinyin" engines in ibus-m17n since we have better
6 # alternatives outside of ibus-m17n. Excluding these input methods from
7 # the IBus engine XML files, such as /usr/share/ibus/component/m17n.xml,
8 # makes the startup time of the IBus daemon faster. This filtering is
9 # done using a python script at build time of ibus-m17n.
10 # See crosbug.com/4161 for details.
11 #
12 # 2. Provide the input methods metadata to Chrome at build time. Chrome
13 # needs to know about the supported input methods for the input method
14 # features, such as the input method switching and the options page,
15 # to work. Note that we can retrieve the same metadata from the IBus
16 # daemon, but Chrome needs be able to get the metadata without talking
17 # to the IBus daemon. This requirement comes from the fact that the
18 # IBus daemon should not run if the user is just using keyboard layouts
19 # such as US keyboard. The metadata generation is done using a python
20 # script at build time of Chrome. See crosbug.com/16961 for details.
21 #
22 # The order of the list is important. In Chrome's "Languages and input" options
23 # page, we list input methods in this order, when more than one input methods
24 # are available for a language (ex. French).
25 #
26 # Each non-comment line contains the following tab-separated columns.
27 #
28 # 1) The input method ID used by Chrome. (ex. "xkb:ca::fra") You should *NEVER*
29 # change the ID since the ID might be written in user's ~/Preferences. For
30 # example, three-letter ISO 639-2/B codes are used for IDs start with "xkb:"
31 # for histrical reason, but we should not replace them with two-letter 639-1
32 # codes that are currently in use in the 3rd column.
33 # 2) The keyboard layout ID used by XKB. (ex. "us", "us(dvorak)", "ca",
34 # "handwriting-vk,jp"). See also: /usr/share/X11/xkb/symbols.
35 # 3) The language code (ex. "fr"). Only one format, ISO 639-1 compliant two-
36 # letter language code which can be recognized by ICU, is allowed. Do not use
37 # three-letter ones (ISO 639-2/T and 639-2/B) here. For "en", "pt", and "zh",
38 # two-letter upper-case country code should be added (ex. "en-US", "zh-TW").
39 # See http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for details.
40 # 4) [optional] The #if condition for the input method.
41 # (ex. "defined(A)", "!defined(A)||defined(B)")
42 #
43 # Notes:
44 # When adding a line to this list, please also add a mapping from the input
45 # method ID to the keyboard overlay ID to INPUT_METHOD_ID_TO_OVERLAY_ID in
46 #
47 # * tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py
48 #
49 # and update the following files by running this script.
50 #
51 # * chrome/app/generated_resources.grd
52 # * chrome/browser/resources/chromeos/keyboard_overlay_data.js
53 # * chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc
54 #
55 # If you add an XKB layout which depends on X11's Mod3Mask (e.g. Germany Neo2
56 # XKB layout), you should also update IsMod3UsedByCurrentInputMethod() method
57 # in chrome/browser/ui/ash/event_rewriter.cc. Otherwise, Mod3Mask might be
58 # removed unexpectedly by the rewriter.
59
60 # U.S. English
61 xkb:us::eng us en-US
62 xkb:us:intl:eng us(intl) en-US
63 xkb:us:altgr-intl:eng us(altgr-intl) en-US
64 xkb:us:dvorak:eng us(dvorak) en-US
65 xkb:us:colemak:eng us(colemak) en-US
66 english-m us en-US
67 # U.S. English entiries have to be above the Dutch entry so that xkb:us:intl:eng
68 # will be selected as the default keyboard when the UI language is set to Dutch.
69
70 # Dutch
71 xkb:be::nld be nl
72 # We don't support xkb:nl::nld. See b/4430951.
73
74 # French
75 xkb:fr::fra fr fr
76 xkb:be::fra be fr
77 xkb:ca::fra ca fr
78 xkb:ch:fr:fra ch(fr) fr
79
80 # German
81 xkb:de::ger de de
82 xkb:de:neo:ger de(neo) de
83 xkb:be::ger be de
84 xkb:ch::ger ch de
85
86 # Japanese
87 mozc us ja
88 mozc-jp jp ja
89 mozc-dv us(dvorak) ja
90 # |kMozcJaInputMethodIds| in ibus_ui_controller.cc should also be updated when
91 # a new Mozc Japanese IME for another keyboard layout is added.
92 xkb:jp::jpn jp ja
93
94 # Russian
95 xkb:ru::rus ru ru
96 xkb:ru:phonetic:rus ru(phonetic) ru
97
98 # Thai
99 m17n:th:kesmanee us th
100 m17n:th:pattachote us th
101 m17n:th:tis820 us th
102
103 # Simplified Chinese
104 pinyin us zh-CN
105 pinyin-dv us(dvorak) zh-CN
106
107 # Traditional Chinese
108 mozc-chewing us zh-TW
109 m17n:zh:cangjie us zh-TW
110 m17n:zh:quick us zh-TW
111
112 # Vietnamese
113 m17n:vi:tcvn us vi
114 m17n:vi:telex us vi
115 m17n:vi:viqr us vi
116 m17n:vi:vni us vi
117 # Note: Since Chrome does not support "get surrounding text" feature yet,
118 # Vietnames input methods, except 4 input methods above, in m17n-db should
119 # not work fine. The 4 input methods in m17n-db (>= 1.6.0) don't require the
120 # feature.
121
122 # Korean
123 mozc-hangul kr(kr104) ko
124 xkb:kr:kr104:kor kr(kr104) ko
125
126 # Arabic
127 m17n:ar:kbd us ar
128 # TODO(yusukes,jshin): Check if we can use ibux-xkb-layouts for Arabic, Hindi,
129 # etc.
130
131 # Hindi
132 m17n:hi:itrans us hi
133 # Note: the m17n-contrib package has some more Hindi IMEs.
134
135 # Farsi (Persian)
136 m17n:fa:isiri us fa
137
138 # Bengali
139 m17n:bn:itrans us bn
140 # TODO(yusukes): Support the following IMEs in m17n-db (unijoy) and
141 # m17n-db-contrib (inscript, probhat).
142 # m17n:bn:unijoy us bn
143 # m17n:bn:inscript us bn
144 # m17n:bn:probhat us bn
145
146 # Gujarati
147 m17n:gu:itrans us gu
148 # TODO(yusukes): Support the following IMEs in m17n-db-contrib.
149 # m17n:gu:phonetic us gu
150 # m17n:gu:inscript us gu
151
152 # Malayalam
153 m17n:ml:itrans us ml
154 # TODO(yusukes): Support the following IMEs in m17n-db-contrib.
155 # m17n:ml:inscript us ml
156 # m17n:ml:mozhi us ml
157
158 # Marathi
159 # Note: m17n:mr:itrans is in m17n-db-contrib.
160 m17n:mr:itrans us mr
161 # TODO(yusukes): Support the following IMEs in m17n-db-contrib.
162 # m17n:mr:phonetic us mr
163 # m17n:mr:inscript us mr
164
165 # Tamil
166 m17n:ta:phonetic us ta
167 m17n:ta:inscript us ta
168 m17n:ta:tamil99 us ta
169 m17n:ta:itrans us ta
170 m17n:ta:typewriter us ta
171
172 # Telugu
173 m17n:te:itrans us te
174 # Kannada
175 m17n:kn:itrans us kn
176
177 # Amharic
178 m17n:am:sera us am
179
180 # Keyboard layouts.
181 xkb:br::por br pt-BR
182 xkb:bg::bul bg bg
183 xkb:bg:phonetic:bul bg(phonetic) bg
184 xkb:ca:eng:eng ca(eng) en-CA
185 xkb:cz::cze cz cs
186 xkb:ee::est ee et
187 xkb:es::spa es es
188 xkb:es:cat:cat es(cat) ca
189 xkb:dk::dan dk da
190 xkb:gr::gre gr el
191 xkb:il::heb il he
192 xkb:latam::spa latam es
193 xkb:lt::lit lt lt
194 xkb:lv:apostrophe:lav lv(apostrophe) lv
195 xkb:hr::scr hr hr
196 xkb:gb:extd:eng gb(extd) en-GB
197 xkb:gb:dvorak:eng gb(dvorak) en-GB
198 xkb:fi::fin fi fi
199 xkb:hu::hun hu hu
200 xkb:it::ita it it
201 xkb:no::nob no nb
202 xkb:pl::pol pl pl
203 xkb:pt::por pt pt-PT
204 xkb:ro::rum ro ro
205 xkb:se::swe se sv
206 xkb:sk::slo sk sk
207 xkb:si::slv si sl
208 xkb:rs::srp rs sr
209 xkb:tr::tur tr tr
210 xkb:ua::ukr ua uk
211 # TODO(yusukes): Support xkb:latam:deadtilde:spa and/or xkb:latam:nodeadkeys:spa
212 # if necessary.
OLDNEW
« no previous file with comments | « trunk/src/chromeos/ime/input_method_whitelist_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698