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

Side by Side Diff: chromeos/ime/input_method_manager.h

Issue 312453002: Migrates Japanese IME IDs and stop migrating Chinese IME IDs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased. Created 6 years, 6 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
« no previous file with comments | « chrome/browser/chromeos/preferences.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 // 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 #ifndef CHROMEOS_IME_INPUT_METHOD_MANAGER_H_ 5 #ifndef CHROMEOS_IME_INPUT_METHOD_MANAGER_H_
6 #define CHROMEOS_IME_INPUT_METHOD_MANAGER_H_ 6 #define CHROMEOS_IME_INPUT_METHOD_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 virtual bool SwitchToPreviousInputMethod( 178 virtual bool SwitchToPreviousInputMethod(
179 const ui::Accelerator& accelerator) = 0; 179 const ui::Accelerator& accelerator) = 0;
180 180
181 // Switches to an input method (or keyboard layout) which is associated with 181 // Switches to an input method (or keyboard layout) which is associated with
182 // the |accelerator|. 182 // the |accelerator|.
183 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) = 0; 183 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) = 0;
184 184
185 // If keyboard layout can be uset at login screen 185 // If keyboard layout can be uset at login screen
186 virtual bool IsLoginKeyboard(const std::string& layout) const = 0; 186 virtual bool IsLoginKeyboard(const std::string& layout) const = 0;
187 187
188 // Migrates the xkb id to extension-xkb id. 188 // Migrates the input method id to extension-based input method id.
189 // TODO(shuchen): Remove this function after few milestones are passed. 189 virtual bool MigrateInputMethods(
190 // See: http://crbug.com/345604
191 virtual bool MigrateXkbInputMethods(
192 std::vector<std::string>* input_method_ids) = 0; 190 std::vector<std::string>* input_method_ids) = 0;
193 }; 191 };
194 192
195 } // namespace input_method 193 } // namespace input_method
196 } // namespace chromeos 194 } // namespace chromeos
197 195
198 #endif // CHROMEOS_IME_INPUT_METHOD_MANAGER_H_ 196 #endif // CHROMEOS_IME_INPUT_METHOD_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/preferences.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698