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

Unified Diff: chromeos/ime/input_method_delegate.h

Issue 139803010: Support comma separated hardware keyboard layout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: /EnableInputMethods/ReplaceEnabeldInputMethods/ 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
« no previous file with comments | « chromeos/ime/fake_input_method_delegate.cc ('k') | chromeos/ime/input_method_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/ime/input_method_delegate.h
diff --git a/chromeos/ime/input_method_delegate.h b/chromeos/ime/input_method_delegate.h
index b732c48c5bb844d2dc0702015436f57365f23f6c..c121d181a0b4a0b1e65c38e758ee0aac07fa4a4a 100644
--- a/chromeos/ime/input_method_delegate.h
+++ b/chromeos/ime/input_method_delegate.h
@@ -19,13 +19,16 @@ class InputMethodDelegate {
InputMethodDelegate() {}
virtual ~InputMethodDelegate() {}
- // Retrieves the hardware keyboard layout ID. May return an empty string if
- // the ID is unknown.
- virtual std::string GetHardwareKeyboardLayout() const = 0;
+ // Returns original VPD value.
+ virtual std::string GetHardwareKeyboardLayouts() const = 0;
// Retrieves localized string for |resource_id|.
virtual base::string16 GetLocalizedString(int resource_id) const = 0;
+ // Set hardware layout string for testting purpose.
+ virtual void SetHardwareKeyboardLayoutForTesting(
+ const std::string& layout) = 0;
+
// Converts a language code to a language display name, using the
// current application locale.
// Examples: "fi" => "Finnish"
« no previous file with comments | « chromeos/ime/fake_input_method_delegate.cc ('k') | chromeos/ime/input_method_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698