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

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

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.h
diff --git a/chrome/browser/chromeos/input_method/mock_xkeyboard.h b/chrome/browser/chromeos/input_method/mock_xkeyboard.h
index e79797991ed15460cf3249c9aaf50e9ca0265cb1..467da1f66389641b1c1195eb76d0f88f86984d24 100644
--- a/chrome/browser/chromeos/input_method/mock_xkeyboard.h
+++ b/chrome/browser/chromeos/input_method/mock_xkeyboard.h
@@ -33,11 +33,16 @@ class MockXKeyboard : public XKeyboard {
virtual unsigned int GetNumLockMask() OVERRIDE;
virtual void GetLockedModifiers(bool* out_caps_lock_enabled,
bool* out_num_lock_enabled) OVERRIDE;
+ virtual bool SetAutoRepeatEnabled(bool enabled) OVERRIDE;
+ virtual bool SetAutoRepeatRate(const AutoRepeatRate& rate) OVERRIDE;
int set_current_keyboard_layout_by_name_count_;
std::string last_layout_;
bool caps_lock_is_enabled_;
bool num_lock_is_enabled_;
+ bool auto_repeat_enabled_;
+ AutoRepeatRate auto_repeat_rate_;
+
// TODO(yusukes): Add more variables for counting the numbers of the API calls
private:

Powered by Google App Engine
This is Rietveld 408576698