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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_deva_phone" }, | 87 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_deva_phone" }, |
88 { "m17n:kn:itrans", | 88 { "m17n:kn:itrans", |
89 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_kn_phone" }, | 89 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_kn_phone" }, |
90 { "m17n:ml:itrans", | 90 { "m17n:ml:itrans", |
91 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_ml_phone" }, | 91 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_ml_phone" }, |
92 { "m17n:mr:itrans", | 92 { "m17n:mr:itrans", |
93 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_deva_phone" }, | 93 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_deva_phone" }, |
94 { "m17n:te:itrans", | 94 { "m17n:te:itrans", |
95 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_te_phone" }, | 95 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_te_phone" }, |
96 { "m17n:fa:isiri", "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_fa" }, | 96 { "m17n:fa:isiri", "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_fa" }, |
| 97 { "m17n:ar:kbd", "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_ar" }, |
97 // TODO(nona): Remove following migration map in M32 | 98 // TODO(nona): Remove following migration map in M32 |
98 { "m17n:zh:quick", | 99 { "m17n:zh:quick", |
99 "_comp_ime_ekbifjdfhkmdeeajnolmgdlmkllopefizh-hant-t-i0-und" }, | 100 "_comp_ime_ekbifjdfhkmdeeajnolmgdlmkllopefizh-hant-t-i0-und" }, |
100 }; | 101 }; |
101 | 102 |
102 const struct MigrationHangulKeyboardToInputMethodID { | 103 const struct MigrationHangulKeyboardToInputMethodID { |
103 const char* keyboard_id; | 104 const char* keyboard_id; |
104 const char* ime_id; | 105 const char* ime_id; |
105 } kMigrationHangulKeyboardToInputMethodID[] = { | 106 } kMigrationHangulKeyboardToInputMethodID[] = { |
106 { "2", "_comp_ime_bdgdidmhaijohebebipajioienkglgfohangul_2set" }, | 107 { "2", "_comp_ime_bdgdidmhaijohebebipajioienkglgfohangul_2set" }, |
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
980 else | 981 else |
981 DVLOG(1) << "Failed to initialize the candidate window controller"; | 982 DVLOG(1) << "Failed to initialize the candidate window controller"; |
982 } | 983 } |
983 | 984 |
984 bool InputMethodManagerImpl::IsIBusConnectionAlive() { | 985 bool InputMethodManagerImpl::IsIBusConnectionAlive() { |
985 return DBusThreadManager::Get() && DBusThreadManager::Get()->GetIBusClient(); | 986 return DBusThreadManager::Get() && DBusThreadManager::Get()->GetIBusClient(); |
986 } | 987 } |
987 | 988 |
988 } // namespace input_method | 989 } // namespace input_method |
989 } // namespace chromeos | 990 } // namespace chromeos |
OLD | NEW |