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

Unified Diff: chrome/browser/chromeos/input_method/mock_xkeyboard.cc

Issue 11558017: Decouple input_method from BrowserThread (and content/). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build failure. Created 8 years 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
Index: chrome/browser/chromeos/input_method/mock_xkeyboard.cc
diff --git a/chrome/browser/chromeos/input_method/mock_xkeyboard.cc b/chrome/browser/chromeos/input_method/mock_xkeyboard.cc
index 6c5d59f00dcd733b841df15f30d44fe89920c1aa..78a8c63fa15efc2fd7c1b1a9828437b86486a51e 100644
--- a/chrome/browser/chromeos/input_method/mock_xkeyboard.cc
+++ b/chrome/browser/chromeos/input_method/mock_xkeyboard.cc
@@ -63,5 +63,15 @@ void MockXKeyboard::GetLockedModifiers(bool* out_caps_lock_enabled,
*out_num_lock_enabled = num_lock_is_enabled_;
}
+bool MockXKeyboard::SetAutoRepeatEnabled(bool enabled) {
+ auto_repeat_enabled_ = enabled;
+ return true;
+}
+
+bool MockXKeyboard::SetAutoRepeatRate(const AutoRepeatRate& rate) {
+ auto_repeat_rate_ = rate;
+ return true;
+}
+
} // namespace input_method
} // namespace chromeos
« no previous file with comments | « chrome/browser/chromeos/input_method/mock_xkeyboard.h ('k') | chrome/browser/chromeos/input_method/xkeyboard.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698