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

Unified Diff: chromeos/ime/fake_input_method_delegate.cc

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.h ('k') | chromeos/ime/input_method_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chromeos/ime/fake_input_method_delegate.h ('k') | chromeos/ime/input_method_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698