| 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 #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 Loading... |
| 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_ |
| OLD | NEW |