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

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

Issue 22980018: Disable non Latin keyboard layout on Lock screen and Sign-in screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test case. Created 7 years, 3 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 | « chromeos/ime/input_method_whitelist.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
1 # The list of keyboard layouts that we support. The keyboard layout metadata is 1 # The list of keyboard layouts that we support. The keyboard layout metadata is
2 # also defined here. 2 # also defined here.
3 # 3 #
4 # Each non-comment line contains the following tab-separated columns. 4 # Each non-comment line contains the following tab-separated columns.
5 # 5 #
6 # 1) The input method ID used by Chrome. (ex. "xkb:ca::fra") You should *NEVER* 6 # 1) The input method ID used by Chrome. (ex. "xkb:ca::fra") You should *NEVER*
7 # change the ID since the ID might be written in user's ~/Preferences. For 7 # change the ID since the ID might be written in user's ~/Preferences. For
8 # example, three-letter ISO 639-2/B codes are used for IDs start with "xkb:" 8 # example, three-letter ISO 639-2/B codes are used for IDs start with "xkb:"
9 # for histrical reason, but we should not replace them with two-letter 639-1 9 # for histrical reason, but we should not replace them with two-letter 639-1
10 # codes that are currently in use in the 3rd column. 10 # codes that are currently in use in the 3rd column.
11 # 2) The keyboard layout ID used by XKB. (ex. "us", "us(dvorak)", "ca", 11 # 2) The keyboard layout ID used by XKB. (ex. "us", "us(dvorak)", "ca",
12 # "handwriting-vk,jp"). See also: /usr/share/X11/xkb/symbols. 12 # "handwriting-vk,jp"). See also: /usr/share/X11/xkb/symbols.
13 # 3) The language code (ex. "fr"). Only one format, ISO 639-1 compliant two- 13 # 3) The language code (ex. "fr"). Only one format, ISO 639-1 compliant two-
14 # letter language code which can be recognized by ICU, is allowed. Do not use 14 # letter language code which can be recognized by ICU, is allowed. Do not use
15 # three-letter ones (ISO 639-2/T and 639-2/B) here. For "en", "pt", and "zh", 15 # three-letter ones (ISO 639-2/T and 639-2/B) here. For "en", "pt", and "zh",
16 # two-letter upper-case country code should be added (ex. "en-US", "zh-TW"). 16 # two-letter upper-case country code should be added (ex. "en-US", "zh-TW").
17 # See http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for details. 17 # See http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for details.
18 # We can specify multiple language code with comma separator. 18 # We can specify multiple language code with comma separator.
19 # 4) The additional attibution.
20 # no-login: Spcified keyboard layout will not be used on login screen or lock
21 # screen.
19 # 22 #
20 # Notes: 23 # Notes:
21 # When adding a line to this list, please also add a mapping from the input 24 # When adding a line to this list, please also add a mapping from the input
22 # method ID to the keyboard overlay ID to INPUT_METHOD_ID_TO_OVERLAY_ID in 25 # method ID to the keyboard overlay ID to INPUT_METHOD_ID_TO_OVERLAY_ID in
23 # 26 #
24 # * tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py 27 # * tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py
25 # 28 #
26 # and update the following files by running this script. 29 # and update the following files by running this script.
27 # 30 #
28 # * chrome/app/generated_resources.grd 31 # * chrome/app/generated_resources.grd
29 # * chrome/browser/resources/chromeos/keyboard_overlay_data.js 32 # * chrome/browser/resources/chromeos/keyboard_overlay_data.js
30 # * chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc 33 # * chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc
31 # 34 #
32 # If you add an XKB layout which depends on X11's Mod3Mask (e.g. Germany Neo2 35 # If you add an XKB layout which depends on X11's Mod3Mask (e.g. Germany Neo2
33 # XKB layout), you should also update IsMod3UsedByCurrentInputMethod() method 36 # XKB layout), you should also update IsMod3UsedByCurrentInputMethod() method
34 # in chrome/browser/ui/ash/event_rewriter.cc. Otherwise, Mod3Mask might be 37 # in chrome/browser/ui/ash/event_rewriter.cc. Otherwise, Mod3Mask might be
35 # removed unexpectedly by the rewriter. 38 # removed unexpectedly by the rewriter.
36 # 39 #
37 # If you add a new language such that some of its layouts can be used at
38 # signin screen (e.g. it is "Full Latin Keyboard Layout" therefore allowing
39 # input of gmail password), you should also update
40 # kHasLatinKeyboardLanguageList[] in
41 # chrome/browser/chromeos/input_method/input_method_manager_impl_ll.cc
42 #
43 # If you add a new keyboard layout for existing language, please ensure
44 # that information in kHasLatinKeyboardLanguageList[] is still correct.
45 40
46 # U.S. English 41 # U.S. English
47 xkb:us::eng» us» en-US,en-AU,id,fil,ms 42 xkb:us::eng» us» en-US,en-AU,id,fil,ms login
48 xkb:us:intl:eng»us(intl)» en-US,nl,pt-BR 43 xkb:us:intl:eng»us(intl)» en-US,nl,pt-BR login
49 xkb:us:altgr-intl:eng» us(altgr-intl)» en-US 44 xkb:us:altgr-intl:eng» us(altgr-intl)» en-US login
50 xkb:us:dvorak:eng» us(dvorak)» en-US 45 xkb:us:dvorak:eng» us(dvorak)» en-US login
51 xkb:us:colemak:eng» us(colemak)» en-US 46 xkb:us:colemak:eng» us(colemak)» en-US login
52 # U.S. English entiries have to be above the Dutch entry so that xkb:us:intl:eng 47 # U.S. English entiries have to be above the Dutch entry so that xkb:us:intl:eng
53 # will be selected as the default keyboard when the UI language is set to Dutch. 48 # will be selected as the default keyboard when the UI language is set to Dutch.
54 49
55 # Dutch 50 # Dutch
56 xkb:be::nld» be» nl 51 xkb:be::nld» be» nl login
57 # We don't support xkb:nl::nld. See b/4430951. 52 # We don't support xkb:nl::nld. See b/4430951.
58 53
59 # French 54 # French
60 xkb:fr::fra» fr» fr 55 xkb:fr::fra» fr» fr login
61 xkb:be::fra» be» fr 56 xkb:be::fra» be» fr login
62 xkb:ca::fra» ca» fr 57 xkb:ca::fra» ca» fr login
63 xkb:ch:fr:fra» ch(fr)» fr 58 xkb:ch:fr:fra» ch(fr)» fr login
64 xkb:ca:multix:fra ca(multix) fr 59 xkb:ca:multix:fra ca(multix) fr login
65 60
66 # German 61 # German
67 xkb:de::ger» de» de 62 xkb:de::ger» de» de login
68 xkb:de:neo:ger» de(neo)»de 63 xkb:de:neo:ger» de(neo)»de login
69 xkb:be::ger» be» de 64 xkb:be::ger» be» de login
70 xkb:ch::ger» ch» de 65 xkb:ch::ger» ch» de login
71 66
72 # Japanese 67 # Japanese
73 # |kMozcJaInputMethodIds| in ibus_ui_controller.cc should also be updated when 68 # |kMozcJaInputMethodIds| in ibus_ui_controller.cc should also be updated when
74 # a new Mozc Japanese IME for another keyboard layout is added. 69 # a new Mozc Japanese IME for another keyboard layout is added.
75 xkb:jp::jpn» jp» ja 70 xkb:jp::jpn» jp» ja login
76 71
77 # Russian 72 # Russian
78 xkb:ru::rus ru ru 73 xkb:ru::rus ru ru
79 xkb:ru:phonetic:rus ru(phonetic) ru 74 xkb:ru:phonetic:rus ru(phonetic) ru
80 75
81 # Keyboard layouts. 76 # Keyboard layouts.
82 xkb:br::por» br» pt-BR 77 xkb:br::por» br» pt-BR login
83 xkb:bg::bul bg bg 78 xkb:bg::bul bg bg
84 xkb:bg:phonetic:bul bg(phonetic) bg 79 xkb:bg:phonetic:bul bg(phonetic) bg
85 xkb:ca:eng:eng» ca(eng)»en-CA 80 xkb:ca:eng:eng» ca(eng)»en-CA login
86 xkb:cz::cze» cz» cs 81 xkb:cz::cze» cz» cs login
87 xkb:cz:qwerty:cze» cz(qwerty)» cs 82 xkb:cz:qwerty:cze» cz(qwerty)» cs login
88 xkb:ee::est» ee» et 83 xkb:ee::est» ee» et login
89 xkb:es::spa» es» es 84 xkb:es::spa» es» es login
90 xkb:es:cat:cat» es(cat)»ca 85 xkb:es:cat:cat» es(cat)»ca login
91 xkb:dk::dan» dk» da 86 xkb:dk::dan» dk» da login
92 xkb:gr::gre gr el 87 xkb:gr::gre gr el
93 xkb:il::heb il he 88 xkb:il::heb il he
94 xkb:latam::spa» latam» es,es-419 89 xkb:latam::spa» latam» es,es-419 login
95 xkb:lt::lit» lt» lt 90 xkb:lt::lit» lt» lt login
96 xkb:lv:apostrophe:lav» lv(apostrophe)» lv 91 xkb:lv:apostrophe:lav» lv(apostrophe)» lv login
97 xkb:hr::scr» hr» hr 92 xkb:hr::scr» hr» hr login
98 xkb:gb:extd:eng»gb(extd)» en-GB 93 xkb:gb:extd:eng»gb(extd)» en-GB login
99 xkb:gb:dvorak:eng» gb(dvorak)» en-GB 94 xkb:gb:dvorak:eng» gb(dvorak)» en-GB login
100 xkb:fi::fin» fi» fi 95 xkb:fi::fin» fi» fi login
101 xkb:hu::hun» hu» hu 96 xkb:hu::hun» hu» hu login
102 xkb:it::ita» it» it 97 xkb:it::ita» it» it login
103 xkb:is::ice» is» is 98 xkb:is::ice» is» is login
104 xkb:no::nob» no» nb 99 xkb:no::nob» no» nb login
105 xkb:pl::pol» pl» pl 100 xkb:pl::pol» pl» pl login
106 xkb:pt::por» pt» pt-PT 101 xkb:pt::por» pt» pt-PT login
107 xkb:ro::rum» ro» ro 102 xkb:ro::rum» ro» ro login
108 xkb:se::swe» se» sv 103 xkb:se::swe» se» sv login
109 xkb:sk::slo sk sk 104 xkb:sk::slo sk sk
110 xkb:si::slv» si» sl 105 xkb:si::slv» si» sl login
111 xkb:rs::srp rs sr 106 xkb:rs::srp rs sr
112 xkb:tr::tur» tr» tr 107 xkb:tr::tur» tr» tr login
113 xkb:ua::ukr» ua» uk 108 xkb:ua::ukr» ua» uk login
114 xkb:by::bel by be 109 xkb:by::bel by be
115 xkb:am:phonetic:arm am hy 110 xkb:am:phonetic:arm am hy
116 xkb:ge::geo ge ka 111 xkb:ge::geo ge ka
117 xkb:mn::mon mn mn 112 xkb:mn::mon mn mn
118 # TODO(yusukes): Support xkb:latam:deadtilde:spa and/or xkb:latam:nodeadkeys:spa 113 # TODO(yusukes): Support xkb:latam:deadtilde:spa and/or xkb:latam:nodeadkeys:spa
119 # if necessary. 114 # if necessary.
OLDNEW
« no previous file with comments | « chromeos/ime/input_method_whitelist.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698