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" |