Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chromeos / ime / input_method_delegate.h
index b732c48..c121d18 100644 (file)
@@ -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"