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

Side by Side Diff: chrome/browser/chromeos/input_method/input_method_manager_impl.cc

Issue 18011002: Remove Traditional Chinese Input (quick) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « no previous file | chromeos/ime/input_methods.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_deva_phone" }, 85 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_deva_phone" },
86 { "m17n:kn:itrans", 86 { "m17n:kn:itrans",
87 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_kn_phone" }, 87 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_kn_phone" },
88 { "m17n:ml:itrans", 88 { "m17n:ml:itrans",
89 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_ml_phone" }, 89 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_ml_phone" },
90 { "m17n:mr:itrans", 90 { "m17n:mr:itrans",
91 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_deva_phone-" }, 91 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_deva_phone-" },
92 { "m17n:te:itrans", 92 { "m17n:te:itrans",
93 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_te_phone" }, 93 "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_te_phone" },
94 { "m17n:fa:isiri", "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_fa" }, 94 { "m17n:fa:isiri", "_comp_ime_jhffeifommiaekmbkkjlpmilogcfdohpvkd_fa" },
95 // TODO(nona): Remove following migration map in M32
96 { "m17n:zh:quick",
97 "_comp_ime_ekbifjdfhkmdeeajnolmgdlmkllopefizh-hant-t-i0-und" },
95 }; 98 };
96 99
97 } // namespace 100 } // namespace
98 101
99 InputMethodManagerImpl::InputMethodManagerImpl( 102 InputMethodManagerImpl::InputMethodManagerImpl(
100 scoped_ptr<InputMethodDelegate> delegate) 103 scoped_ptr<InputMethodDelegate> delegate)
101 : delegate_(delegate.Pass()), 104 : delegate_(delegate.Pass()),
102 state_(STATE_LOGIN_SCREEN), 105 state_(STATE_LOGIN_SCREEN),
103 util_(delegate_.get(), GetSupportedInputMethods()), 106 util_(delegate_.get(), GetSupportedInputMethods()),
104 component_extension_ime_manager_(new ComponentExtensionIMEManager()), 107 component_extension_ime_manager_(new ComponentExtensionIMEManager()),
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 else 908 else
906 DVLOG(1) << "Failed to initialize the candidate window controller"; 909 DVLOG(1) << "Failed to initialize the candidate window controller";
907 } 910 }
908 911
909 bool InputMethodManagerImpl::IsIBusConnectionAlive() { 912 bool InputMethodManagerImpl::IsIBusConnectionAlive() {
910 return DBusThreadManager::Get() && DBusThreadManager::Get()->GetIBusClient(); 913 return DBusThreadManager::Get() && DBusThreadManager::Get()->GetIBusClient();
911 } 914 }
912 915
913 } // namespace input_method 916 } // namespace input_method
914 } // namespace chromeos 917 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chromeos/ime/input_methods.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698