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

Unified Diff: chromeos/ime/fake_xkeyboard.h

Issue 189663009: cros: Simplify chromeos::input_method::XKeyboard interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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
Index: chromeos/ime/fake_xkeyboard.h
diff --git a/chromeos/ime/fake_xkeyboard.h b/chromeos/ime/fake_xkeyboard.h
index 91a9fb897bf01c9cbd4df0f3e341e4f05c09bec4..c25b39f93e496021f4e04d030d16f47d7d0b5ddb 100644
--- a/chromeos/ime/fake_xkeyboard.h
+++ b/chromeos/ime/fake_xkeyboard.h
@@ -24,23 +24,15 @@ class CHROMEOS_EXPORT FakeXKeyboard : public XKeyboard {
OVERRIDE;
virtual bool ReapplyCurrentKeyboardLayout() OVERRIDE;
virtual void ReapplyCurrentModifierLockStatus() OVERRIDE;
- virtual void SetLockedModifiers(ModifierLockStatus new_caps_lock_status,
- ModifierLockStatus new_num_lock_status)
- OVERRIDE;
- virtual void SetNumLockEnabled(bool enable_num_lock) OVERRIDE;
+ virtual void DisableNumLock() OVERRIDE;
virtual void SetCapsLockEnabled(bool enable_caps_lock) OVERRIDE;
- virtual bool NumLockIsEnabled() OVERRIDE;
virtual bool CapsLockIsEnabled() OVERRIDE;
- 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_is_enabled_;
AutoRepeatRate last_auto_repeat_rate_;
// TODO(yusukes): Add more variables for counting the numbers of the API calls

Powered by Google App Engine
This is Rietveld 408576698