Index: chrome/browser/chromeos/input_method/xkeyboard.h |
diff --git a/chrome/browser/chromeos/input_method/xkeyboard.h b/chrome/browser/chromeos/input_method/xkeyboard.h |
index cbe9852ebda103f8db84c452c1f9be0a9d16fd96..15d1b82a7a4336fb6bd82f2d7b32b8129ef20005 100644 |
--- a/chrome/browser/chromeos/input_method/xkeyboard.h |
+++ b/chrome/browser/chromeos/input_method/xkeyboard.h |
@@ -141,6 +141,16 @@ class XKeyboard { |
static bool ContainsModifierKeyAsReplacement(const ModifierMap& modifier_map, |
ModifierKey key); |
+ // THIS FUNCTION IS ONLY FOR UNIT TESTS. |
+ // Returns true if auto repeat is enabled. This function is protected: for |
+ // testability. |
+ static bool GetAutoRepeatEnabled(); |
+ |
+ // THIS FUNCTION IS ONLY FOR UNIT TESTS. |
+ // On success, set current auto repeat rate on |out_rate| and returns true. |
+ // Returns false otherwise. This function is protected: for testability. |
+ static bool GetAutoRepeatRate(AutoRepeatRate* out_rate); |
+ |
private: |
// This function is used by SetLayout() and RemapModifierKeys(). Calls |
// setxkbmap command if needed, and updates the last_full_layout_name_ cache. |