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_manager_impl.h" | 5 #include "chrome/browser/chromeos/input_method/input_method_manager_impl.h" |
6 | 6 |
7 #include <algorithm> // std::find | 7 #include <algorithm> // std::find |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_ta_inscript" }, | 68 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_ta_inscript" }, |
69 { "m17n:th:pattachote", | 69 { "m17n:th:pattachote", |
70 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_th_pattajoti" }, | 70 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_th_pattajoti" }, |
71 { "m17n:th:tis820", "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_th_tis" }, | 71 { "m17n:th:tis820", "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_th_tis" }, |
72 { "m17n:th:kesmanee", | 72 { "m17n:th:kesmanee", |
73 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_th" }, | 73 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_th" }, |
74 { "m17n:vi:tcvn", "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_vi_tcvn" }, | 74 { "m17n:vi:tcvn", "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_vi_tcvn" }, |
75 { "m17n:vi:viqr", "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_vi_viqr" }, | 75 { "m17n:vi:viqr", "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_vi_viqr" }, |
76 { "m17n:vi:telex", | 76 { "m17n:vi:telex", |
77 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_vi_telex" }, | 77 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_vi_telex" }, |
| 78 { "m17n:vi:vni", |
| 79 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_vi_vni" }, |
78 { "m17n:am:sera", | 80 { "m17n:am:sera", |
79 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_ethi" }, | 81 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_ethi" }, |
80 { "m17n:bn:itrans", | 82 { "m17n:bn:itrans", |
81 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_bn_phone" }, | 83 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_bn_phone" }, |
82 { "m17n:gu:itrans", | 84 { "m17n:gu:itrans", |
83 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_gu_phone" }, | 85 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_gu_phone" }, |
84 { "m17n:hi:itrans", | 86 { "m17n:hi:itrans", |
85 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_deva_phone" }, | 87 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_deva_phone" }, |
86 { "m17n:kn:itrans", | 88 { "m17n:kn:itrans", |
87 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_kn_phone" }, | 89 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_kn_phone" }, |
88 { "m17n:ml:itrans", | 90 { "m17n:ml:itrans", |
89 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_ml_phone" }, | 91 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_ml_phone" }, |
90 { "m17n:mr:itrans", | 92 { "m17n:mr:itrans", |
91 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_deva_phone-" }, | 93 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_deva_phone" }, |
92 { "m17n:te:itrans", | 94 { "m17n:te:itrans", |
93 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_te_phone" }, | 95 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_te_phone" }, |
94 { "m17n:fa:isiri", "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_fa" }, | 96 { "m17n:fa:isiri", "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_fa" }, |
95 // TODO(nona): Remove following migration map in M32 | 97 // TODO(nona): Remove following migration map in M32 |
96 { "m17n:zh:quick", | 98 { "m17n:zh:quick", |
97 "_comp_ime_ekbifjdfhkmdeeajnolmgdlmkllopefizh-hant-t-i0-und" }, | 99 "_comp_ime_ekbifjdfhkmdeeajnolmgdlmkllopefizh-hant-t-i0-und" }, |
98 }; | 100 }; |
99 | 101 |
100 const struct MigrationHangulKeyboardToInputMethodID { | 102 const struct MigrationHangulKeyboardToInputMethodID { |
101 const char* keyboard_id; | 103 const char* keyboard_id; |
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 else | 980 else |
979 DVLOG(1) << "Failed to initialize the candidate window controller"; | 981 DVLOG(1) << "Failed to initialize the candidate window controller"; |
980 } | 982 } |
981 | 983 |
982 bool InputMethodManagerImpl::IsIBusConnectionAlive() { | 984 bool InputMethodManagerImpl::IsIBusConnectionAlive() { |
983 return DBusThreadManager::Get() && DBusThreadManager::Get()->GetIBusClient(); | 985 return DBusThreadManager::Get() && DBusThreadManager::Get()->GetIBusClient(); |
984 } | 986 } |
985 | 987 |
986 } // namespace input_method | 988 } // namespace input_method |
987 } // namespace chromeos | 989 } // namespace chromeos |
OLD | NEW |