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

Unified Diff: chrome/browser/chromeos/input_method/input_method_util.h

Issue 139803010: Support comma separated hardware keyboard layout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile failure Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
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 50092b456a93b389ca348095a887ea885ef3cbd0..e690b9b22f0c44b0fa19b9e694ef36533d405efe 100644
--- a/chrome/browser/chromeos/input_method/input_method_util.h
+++ b/chrome/browser/chromeos/input_method/input_method_util.h
@@ -97,12 +97,12 @@ class InputMethodUtil {
// 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;
+ // Fills the input method IDs of the hardware keyboard. e.g. "xkb:us::eng"
+ // for the US Qwerty keyboard. |out| must not be NULL.
+ void GetHardwareInputMethodIds(std::vector<std::string>* out) const;
// Returns the login-allowed input method ID of the hardware keyboard.
- std::string GetHardwareLoginInputMethodId() const;
+ void GetHardwareLoginInputMethodId(std::vector<std::string>* out) const;
// Returns true if given input method can be used to input login data.
bool IsLoginKeyboard(const std::string& input_method_id) const;

Powered by Google App Engine
This is Rietveld 408576698