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

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

Issue 22980018: Disable non Latin keyboard layout on Lock screen and Sign-in screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test case. Created 7 years, 3 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 | « chromeos/ime/input_method_descriptor.cc ('k') | chromeos/ime/input_method_whitelist.cc » ('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 #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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 185
186 // Switches the current input method (or keyboard layout) to the previous one. 186 // Switches the current input method (or keyboard layout) to the previous one.
187 virtual bool SwitchToPreviousInputMethod( 187 virtual bool SwitchToPreviousInputMethod(
188 const ui::Accelerator& accelerator) = 0; 188 const ui::Accelerator& accelerator) = 0;
189 189
190 // Switches to an input method (or keyboard layout) which is associated with 190 // Switches to an input method (or keyboard layout) which is associated with
191 // the |accelerator|. 191 // the |accelerator|.
192 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) = 0; 192 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) = 0;
193 193
194 // If keyboard layout can be uset at login screen 194 // If keyboard layout can be uset at login screen
195 virtual bool IsFullLatinKeyboard(const std::string& layout) const = 0; 195 virtual bool IsLoginKeyboard(const std::string& layout) const = 0;
196 }; 196 };
197 197
198 } // namespace input_method 198 } // namespace input_method
199 } // namespace chromeos 199 } // namespace chromeos
200 200
201 #endif // CHROMEOS_IME_INPUT_METHOD_MANAGER_H_ 201 #endif // CHROMEOS_IME_INPUT_METHOD_MANAGER_H_
OLDNEW
« no previous file with comments | « chromeos/ime/input_method_descriptor.cc ('k') | chromeos/ime/input_method_whitelist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698