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

Side by Side Diff: chrome/browser/chromeos/input_method/ibus_input_methods.txt

Issue 9721017: Rename ibus_input_methods.txt to input_methods.txt. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-retry Created 8 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
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-xkb-layouts and
10 # ibus-m17n. 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 IBus. (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/chromeos/input_method/xkeyboard.cc
53 # * chrome/browser/resources/keyboard_overlay_data.js
54 # * chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc
55
56 # U.S. English
57 xkb:us::eng us en-US
58 xkb:us:intl:eng us(intl) en-US !defined(USE_VIRTUAL_KEYBOARD)
59 xkb:us:altgr-intl:eng us(altgr-intl) en-US !defined(USE_VIRTUAL_KEYBOARD)
60 xkb:us:dvorak:eng us(dvorak) en-US !defined(USE_VIRTUAL_KEYBOARD)
61 xkb:us:colemak:eng us(colemak) en-US !defined(USE_VIRTUAL_KEYBOARD)
62 english-m us en-US !defined(USE_VIRTUAL_KEYBOARD)
63 # U.S. English entiries have to be above the Dutch entry so that xkb:us:intl:eng
64 # will be selected as the default keyboard when the UI language is set to Dutch.
65
66 # Dutch
67 xkb:be::nld be nl !defined(USE_VIRTUAL_KEYBOARD)
68 # We don't support xkb:nl::nld. See b/4430951.
69
70 # French
71 xkb:fr::fra fr fr
72 xkb:be::fra be fr !defined(USE_VIRTUAL_KEYBOARD)
73 xkb:ca::fra ca fr !defined(USE_VIRTUAL_KEYBOARD)
74 xkb:ch:fr:fra ch(fr) fr !defined(USE_VIRTUAL_KEYBOARD)
75
76 # German
77 xkb:de::ger de de !defined(USE_VIRTUAL_KEYBOARD)
78 xkb:de:neo:ger de(neo) de !defined(USE_VIRTUAL_KEYBOARD)
79 xkb:be::ger be de !defined(USE_VIRTUAL_KEYBOARD)
80 xkb:ch::ger ch de !defined(USE_VIRTUAL_KEYBOARD)
81
82 # Japanese
83 mozc us ja
84 mozc-jp jp ja !defined(USE_VIRTUAL_KEYBOARD)
85 mozc-dv us(dvorak) ja !defined(USE_VIRTUAL_KEYBOARD)
86 # |kMozcJaInputMethodIds| in ibus_ui_controller.cc should also be updated when
87 # a new Mozc Japanese IME for another keyboard layout is added.
88 xkb:jp::jpn jp ja !defined(USE_VIRTUAL_KEYBOARD)
89 zinnia-japanese handwriting-vk,jp ja defined(USE_VIRTUAL_KEYBOARD)
90
91 # Russian
92 xkb:ru::rus ru ru !defined(USE_VIRTUAL_KEYBOARD)
93 xkb:ru:phonetic:rus ru(phonetic) ru !defined(USE_VIRTUAL_KEYBOARD)
94
95 # Thai
96 m17n:th:kesmanee us th
97 m17n:th:pattachote us th
98 m17n:th:tis820 us th
99
100 # Simplified Chinese
101 pinyin us zh-CN
102 pinyin-dv us(dvorak) zh-CN !defined(USE_VIRTUAL_KEYBOARD)
103
104 # Traditional Chinese
105 mozc-chewing us zh-TW
106 m17n:zh:cangjie us zh-TW
107 m17n:zh:quick us zh-TW
108
109 # Vietnamese
110 m17n:vi:tcvn us vi
111 m17n:vi:telex us vi
112 m17n:vi:viqr us vi
113 m17n:vi:vni us vi
114 # Note: Since Chrome does not support "get surrounding text" feature yet,
115 # Vietnames input methods, except 4 input methods above, in m17n-db should
116 # not work fine. The 4 input methods in m17n-db (>= 1.6.0) don't require the
117 # feature.
118
119 # Korean
120 mozc-hangul kr(kr104) ko
121 xkb:kr:kr104:kor kr(kr104) ko
122
123 # Arabic
124 m17n:ar:kbd us ar
125 # TODO(yusukes,jshin): Check if we can use ibux-xkb-layouts for Arabic, Hindi,
126 # etc.
127
128 # Hindi
129 m17n:hi:itrans us hi
130 # Note: the m17n-contrib package has some more Hindi IMEs.
131
132 # Farsi (Persian)
133 m17n:fa:isiri us fa
134
135 # Bengali
136 m17n:bn:itrans us bn
137 # TODO(yusukes): Support the following IMEs in m17n-db (unijoy) and
138 # m17n-db-contrib (inscript, probhat).
139 # m17n:bn:unijoy us bn
140 # m17n:bn:inscript us bn
141 # m17n:bn:probhat us bn
142
143 # Gujarati
144 m17n:gu:itrans us gu
145 # TODO(yusukes): Support the following IMEs in m17n-db-contrib.
146 # m17n:gu:phonetic us gu
147 # m17n:gu:inscript us gu
148
149 # Malayalam
150 m17n:ml:itrans us ml
151 # TODO(yusukes): Support the following IMEs in m17n-db-contrib.
152 # m17n:ml:inscript us ml
153 # m17n:ml:mozhi us ml
154
155 # Marathi
156 # Note: m17n:mr:itrans is in m17n-db-contrib.
157 m17n:mr:itrans us mr
158 # TODO(yusukes): Support the following IMEs in m17n-db-contrib.
159 # m17n:mr:phonetic us mr
160 # m17n:mr:inscript us mr
161
162 # Tamil
163 m17n:ta:phonetic us ta
164 m17n:ta:inscript us ta
165 m17n:ta:tamil99 us ta
166 m17n:ta:itrans us ta
167 m17n:ta:typewriter us ta
168
169 # Telugu
170 m17n:te:itrans us te
171 # Kannada
172 m17n:kn:itrans us kn
173
174 # Amharic
175 m17n:am:sera us am
176
177 # Keyboard layouts.
178 xkb:br::por br pt-BR !defined(USE_VIRTUAL_KEYBOARD)
179 xkb:bg::bul bg bg !defined(USE_VIRTUAL_KEYBOARD)
180 xkb:bg:phonetic:bul bg(phonetic) bg !defined(USE_VIRTUAL_KEYBOARD)
181 xkb:ca:eng:eng ca(eng) en-CA !defined(USE_VIRTUAL_KEYBOARD)
182 xkb:cz::cze cz cs !defined(USE_VIRTUAL_KEYBOARD)
183 xkb:ee::est ee et !defined(USE_VIRTUAL_KEYBOARD)
184 xkb:es::spa es es !defined(USE_VIRTUAL_KEYBOARD)
185 xkb:es:cat:cat es(cat) ca !defined(USE_VIRTUAL_KEYBOARD)
186 xkb:dk::dan dk da !defined(USE_VIRTUAL_KEYBOARD)
187 xkb:gr::gre gr el !defined(USE_VIRTUAL_KEYBOARD)
188 xkb:il::heb il he !defined(USE_VIRTUAL_KEYBOARD)
189 xkb:latam::spa latam es !defined(USE_VIRTUAL_KEYBOARD)
190 xkb:lt::lit lt lt !defined(USE_VIRTUAL_KEYBOARD)
191 xkb:lv:apostrophe:lav lv(apostrophe) lv !defined(USE_VIRTUAL_KEYBOARD)
192 xkb:hr::scr hr hr !defined(USE_VIRTUAL_KEYBOARD)
193 xkb:gb:extd:eng gb(extd) en-GB !defined(USE_VIRTUAL_KEYBOARD)
194 xkb:gb:dvorak:eng gb(dvorak) en-GB !defined(USE_VIRTUAL_KEYBOARD)
195 xkb:fi::fin fi fi !defined(USE_VIRTUAL_KEYBOARD)
196 xkb:hu::hun hu hu !defined(USE_VIRTUAL_KEYBOARD)
197 xkb:it::ita it it !defined(USE_VIRTUAL_KEYBOARD)
198 xkb:no::nob no nb !defined(USE_VIRTUAL_KEYBOARD)
199 xkb:pl::pol pl pl !defined(USE_VIRTUAL_KEYBOARD)
200 xkb:pt::por pt pt-PT !defined(USE_VIRTUAL_KEYBOARD)
201 xkb:ro::rum ro ro !defined(USE_VIRTUAL_KEYBOARD)
202 xkb:se::swe se sv !defined(USE_VIRTUAL_KEYBOARD)
203 xkb:sk::slo sk sk !defined(USE_VIRTUAL_KEYBOARD)
204 xkb:si::slv si sl !defined(USE_VIRTUAL_KEYBOARD)
205 xkb:rs::srp rs sr !defined(USE_VIRTUAL_KEYBOARD)
206 xkb:tr::tur tr tr !defined(USE_VIRTUAL_KEYBOARD)
207 xkb:ua::ukr ua uk !defined(USE_VIRTUAL_KEYBOARD)
208 # TODO(yusukes): Support xkb:latam:deadtilde:spa and/or xkb:latam:nodeadkeys:spa
209 # if necessary.
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/input_method/ibus_controller.cc ('k') | chrome/browser/chromeos/input_method/input_method.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698