| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/input_method/input_method_util.h" | 5 #include "chrome/browser/chromeos/input_method/input_method_util.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <functional> | 8 #include <functional> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 const char* indicator_text; | 35 const char* indicator_text; |
| 36 } kMappingFromIdToIndicatorText[] = { | 36 } kMappingFromIdToIndicatorText[] = { |
| 37 // To distinguish from "xkb:jp::jpn" | 37 // To distinguish from "xkb:jp::jpn" |
| 38 // TODO(nona): Make following variables configurable. http://crbug.com/232260. | 38 // TODO(nona): Make following variables configurable. http://crbug.com/232260. |
| 39 { "nacl_mozc_us", "\xe3\x81\x82" }, | 39 { "nacl_mozc_us", "\xe3\x81\x82" }, |
| 40 { "nacl_mozc_jp", "\xe3\x81\x82" }, | 40 { "nacl_mozc_jp", "\xe3\x81\x82" }, |
| 41 // For simplified Chinese input methods | 41 // For simplified Chinese input methods |
| 42 { "zh-t-i0-pinyin", "\xe6\x8b\xbc" }, // U+62FC | 42 { "zh-t-i0-pinyin", "\xe6\x8b\xbc" }, // U+62FC |
| 43 { "zh-t-i0-wubi-1986", "\xe4\xba\x94" }, // U+4E94 | 43 { "zh-t-i0-wubi-1986", "\xe4\xba\x94" }, // U+4E94 |
| 44 // For traditional Chinese input methods | 44 // For traditional Chinese input methods |
| 45 { "zh-hant-t-i0-pinyin", "\xe6\x8b\xbc" }, // U+62FC |
| 45 { "zh-hant-t-i0-und", "\xE6\xB3\xA8" }, // U+9177 | 46 { "zh-hant-t-i0-und", "\xE6\xB3\xA8" }, // U+9177 |
| 46 { "zh-hant-t-i0-cangjie-1987", "\xe5\x80\x89" }, // U+5009 | 47 { "zh-hant-t-i0-cangjie-1987", "\xe5\x80\x89" }, // U+5009 |
| 47 { "zh-hant-t-i0-cangjie-1987-x-m0-simplified", "\xe9\x80\x9f" }, // U+901F | 48 { "zh-hant-t-i0-cangjie-1987-x-m0-simplified", "\xe9\x80\x9f" }, // U+901F |
| 48 // For Hangul input method. | 49 // For Hangul input method. |
| 50 { "hangul_ahnmatae", "\xed\x95\x9c" }, // U+D55C |
| 49 { "hangul_2set", "\xed\x95\x9c" }, // U+D55C | 51 { "hangul_2set", "\xed\x95\x9c" }, // U+D55C |
| 50 { "hangul_3set390", "\xed\x95\x9c" }, // U+D55C | 52 { "hangul_3set390", "\xed\x95\x9c" }, // U+D55C |
| 51 { "hangul_3setfinal", "\xed\x95\x9c" }, // U+D55C | 53 { "hangul_3setfinal", "\xed\x95\x9c" }, // U+D55C |
| 52 { "hangul_3setnoshift", "\xed\x95\x9c" }, // U+D55C | 54 { "hangul_3setnoshift", "\xed\x95\x9c" }, // U+D55C |
| 53 { "hangul_romaja", "\xed\x95\x9c" }, // U+D55C | 55 { "hangul_romaja", "\xed\x95\x9c" }, // U+D55C |
| 54 { extension_misc::kBrailleImeEngineId, | 56 { extension_misc::kBrailleImeEngineId, |
| 55 // U+2803 U+2817 U+2807 (Unicode braille patterns for the letters 'brl' in | 57 // U+2803 U+2817 U+2807 (Unicode braille patterns for the letters 'brl' in |
| 56 // English (and many other) braille codes. | 58 // English (and many other) braille codes. |
| 57 "\xe2\xa0\x83\xe2\xa0\x97\xe2\xa0\x87" }, | 59 "\xe2\xa0\x83\xe2\xa0\x97\xe2\xa0\x87" }, |
| 58 }; | 60 }; |
| (...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 752 "US", | 754 "US", |
| 753 layouts, | 755 layouts, |
| 754 languages, | 756 languages, |
| 755 true, // login keyboard. | 757 true, // login keyboard. |
| 756 GURL(), // options page, not available. | 758 GURL(), // options page, not available. |
| 757 GURL()); // input view page, not available. | 759 GURL()); // input view page, not available. |
| 758 } | 760 } |
| 759 | 761 |
| 760 } // namespace input_method | 762 } // namespace input_method |
| 761 } // namespace chromeos | 763 } // namespace chromeos |
| OLD | NEW |