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

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: Created 7 years, 4 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
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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 // Switches the current input method (or keyboard layout) to the previous one. 192 // Switches the current input method (or keyboard layout) to the previous one.
193 virtual bool SwitchToPreviousInputMethod( 193 virtual bool SwitchToPreviousInputMethod(
194 const ui::Accelerator& accelerator) = 0; 194 const ui::Accelerator& accelerator) = 0;
195 195
196 // Switches to an input method (or keyboard layout) which is associated with 196 // Switches to an input method (or keyboard layout) which is associated with
197 // the |accelerator|. 197 // the |accelerator|.
198 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) = 0; 198 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) = 0;
199 199
200 // If keyboard layout can be uset at login screen 200 // If keyboard layout can be uset at login screen
201 virtual bool IsFullLatinKeyboard(const std::string& layout) const = 0; 201 virtual bool IsLoginKeyboard(const std::string& layout) const = 0;
202 }; 202 };
203 203
204 } // namespace input_method 204 } // namespace input_method
205 } // namespace chromeos 205 } // namespace chromeos
206 206
207 #endif // CHROMEOS_IME_INPUT_METHOD_MANAGER_H_ 207 #endif // CHROMEOS_IME_INPUT_METHOD_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698