Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chromeos / ime / fake_input_method_delegate.cc
index 2757750..e06e0d3 100644 (file)
@@ -14,7 +14,7 @@ FakeInputMethodDelegate::FakeInputMethodDelegate()
 FakeInputMethodDelegate::~FakeInputMethodDelegate() {
 }
 
-std::string FakeInputMethodDelegate::GetHardwareKeyboardLayout() const {
+std::string FakeInputMethodDelegate::GetHardwareKeyboardLayouts() const {
   return hardware_keyboard_layout_;
 }
 
@@ -32,5 +32,10 @@ base::string16 FakeInputMethodDelegate::GetDisplayLanguageName(
   return base::string16();
 }
 
+void FakeInputMethodDelegate::SetHardwareKeyboardLayoutForTesting(
+    const std::string& layout) {
+  set_hardware_keyboard_layout(layout);
+}
+
 }  // namespace input_method
 }  // namespace chromeos