Chromium Code Reviews| Index: chrome/browser/chromeos/input_method/input_method_util.h |
| diff --git a/chrome/browser/chromeos/input_method/input_method_util.h b/chrome/browser/chromeos/input_method/input_method_util.h |
| index 32f3efbc177d4163c19cc8dcb538a00256da63b3..50092b456a93b389ca348095a887ea885ef3cbd0 100644 |
| --- a/chrome/browser/chromeos/input_method/input_method_util.h |
| +++ b/chrome/browser/chromeos/input_method/input_method_util.h |
| @@ -93,10 +93,20 @@ class InputMethodUtil { |
| const std::vector<std::string>& input_method_ids, |
| std::vector<std::string>* out_language_codes) const; |
| + // Gets first input method associated with the language. |
| + // Returns empty string on error. |
| + std::string GetLanguageDefaultInputMethodId(const std::string& language_code); |
| + |
| // Returns the input method ID of the hardware keyboard. e.g. "xkb:us::eng" |
| // for the US Qwerty keyboard. |
| std::string GetHardwareInputMethodId() const; |
| + // Returns the login-allowed input method ID of the hardware keyboard. |
| + std::string GetHardwareLoginInputMethodId() const; |
| + |
| + // Returns true if given input method can be used to input login data. |
| + bool IsLoginKeyboard(const std::string& input_method_id) const; |
|
Hiro Komatsu
2014/01/27 05:12:21
Please keep the same order with .cc file.
Alexander Alekseev
2014/01/27 12:50:14
Done.
|
| + |
| // Returns true if the given input method id is supported. |
| bool IsValidInputMethodId(const std::string& input_method_id) const; |