Index: chrome/browser/chromeos/accessibility/accessibility_manager.h |
diff --git a/chrome/browser/chromeos/accessibility/accessibility_manager.h b/chrome/browser/chromeos/accessibility/accessibility_manager.h |
index 6371945c0c5854ad4c6c966eb72b9dff458e3fa4..52879e9ed5835030f7b31a3b0465ce5664171401 100644 |
--- a/chrome/browser/chromeos/accessibility/accessibility_manager.h |
+++ b/chrome/browser/chromeos/accessibility/accessibility_manager.h |
@@ -51,6 +51,8 @@ enum AccessibilityNotificationType { |
ACCESSIBILITY_TOGGLE_CARET_HIGHLIGHT, |
ACCESSIBILITY_TOGGLE_CURSOR_HIGHLIGHT, |
ACCESSIBILITY_TOGGLE_FOCUS_HIGHLIGHT, |
+ ACCESSIBILITY_TOGGLE_STICKY_KEYS, |
oshima
2017/04/06 23:04:07
keep the same order?
|
+ ACCESSIBILITY_TOGGLE_TAP_DRAGGING, |
ACCESSIBILITY_BRAILLE_DISPLAY_CONNECTION_STATE_CHANGED |
}; |
@@ -149,6 +151,12 @@ class AccessibilityManager |
// Returns true if the Sticky Keys is enabled, or false if not. |
bool IsStickyKeysEnabled(); |
+ // Enables or disables tap dragging. |
+ void EnableTapDragging(bool enabled); |
oshima
2017/04/06 23:04:07
the order
|
+ |
+ // Returns true if the tap dragging is enabled, or false if not. |
+ bool IsTapDraggingEnabled(); |
oshima
2017/04/06 23:04:07
const?
pls update other IsXxx (separate CL is fin
|
+ |
// Enables or disables spoken feedback. Enabling spoken feedback installs the |
// ChromeVox component extension. |
void EnableSpokenFeedback(bool enabled, |
@@ -309,6 +317,7 @@ class AccessibilityManager |
void UpdateStickyKeysFromPref(); |
void UpdateSpokenFeedbackFromPref(); |
void UpdateHighContrastFromPref(); |
+ void UpdateTapDraggingFromPref(); |
oshima
2017/04/06 23:04:07
nit: move this between UpdateSelect.. and UpdateSw
|
void UpdateAutoclickFromPref(); |
void UpdateAutoclickDelayFromPref(); |
void UpdateVirtualKeyboardFromPref(); |
@@ -370,6 +379,7 @@ class AccessibilityManager |
PrefHandler large_cursor_pref_handler_; |
PrefHandler spoken_feedback_pref_handler_; |
PrefHandler high_contrast_pref_handler_; |
+ PrefHandler sticky_keys_pref_handler_; |
PrefHandler autoclick_pref_handler_; |
PrefHandler autoclick_delay_pref_handler_; |
PrefHandler virtual_keyboard_pref_handler_; |
@@ -377,6 +387,7 @@ class AccessibilityManager |
PrefHandler caret_highlight_pref_handler_; |
PrefHandler cursor_highlight_pref_handler_; |
PrefHandler focus_highlight_pref_handler_; |
+ PrefHandler tap_dragging_pref_handler_; |
PrefHandler select_to_speak_pref_handler_; |
PrefHandler switch_access_pref_handler_; |
@@ -392,6 +403,7 @@ class AccessibilityManager |
bool caret_highlight_enabled_; |
bool cursor_highlight_enabled_; |
bool focus_highlight_enabled_; |
+ bool tap_dragging_enabled_; |
bool select_to_speak_enabled_; |
bool switch_access_enabled_; |