Index: chromeos/ime/fake_input_method_delegate.cc |
diff --git a/chromeos/ime/fake_input_method_delegate.cc b/chromeos/ime/fake_input_method_delegate.cc |
index 2757750b7d77b390a10b0bf050d0a9f9df3ea777..e06e0d3b185742fee95c043637a8867463f9882d 100644 |
--- a/chromeos/ime/fake_input_method_delegate.cc |
+++ b/chromeos/ime/fake_input_method_delegate.cc |
@@ -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 |