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

Unified Diff: chrome/browser/chromeos/accessibility/accessibility_manager.h

Issue 2802783002: List all a11y features in a11y detailed view in ash system menu (Closed)
Patch Set: Address the comments on PS#1 Created 3 years, 8 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: 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..0c7aeddba230c5d9770499ae4e06949c2197787a 100644
--- a/chrome/browser/chromeos/accessibility/accessibility_manager.h
+++ b/chrome/browser/chromeos/accessibility/accessibility_manager.h
@@ -44,6 +44,7 @@ enum AccessibilityNotificationType {
ACCESSIBILITY_MANAGER_SHUTDOWN,
ACCESSIBILITY_TOGGLE_HIGH_CONTRAST_MODE,
ACCESSIBILITY_TOGGLE_LARGE_CURSOR,
+ ACCESSIBILITY_TOGGLE_STICKY_KEYS,
ACCESSIBILITY_TOGGLE_SCREEN_MAGNIFIER,
ACCESSIBILITY_TOGGLE_SPOKEN_FEEDBACK,
ACCESSIBILITY_TOGGLE_VIRTUAL_KEYBOARD,
@@ -51,6 +52,7 @@ enum AccessibilityNotificationType {
ACCESSIBILITY_TOGGLE_CARET_HIGHLIGHT,
ACCESSIBILITY_TOGGLE_CURSOR_HIGHLIGHT,
ACCESSIBILITY_TOGGLE_FOCUS_HIGHLIGHT,
+ ACCESSIBILITY_TOGGLE_TAP_DRAGGING,
ACCESSIBILITY_BRAILLE_DISPLAY_CONNECTION_STATE_CHANGED
};
@@ -206,6 +208,12 @@ class AccessibilityManager
// Returns if focus highlighting is enabled.
bool IsFocusHighlightEnabled() const;
+ // Enables or disables tap dragging.
+ void EnableTapDragging(bool enabled);
+
+ // Returns true if the tap dragging is enabled, or false if not.
+ bool IsTapDraggingEnabled();
+
// Invoked to enable or disable select-to-speak.
void SetSelectToSpeakEnabled(bool enabled);
@@ -316,6 +324,7 @@ class AccessibilityManager
void UpdateCaretHighlightFromPref();
void UpdateCursorHighlightFromPref();
void UpdateFocusHighlightFromPref();
+ void UpdateTapDraggingFromPref();
void UpdateSelectToSpeakFromPref();
void UpdateSwitchAccessFromPref();
void UpdateAccessibilityHighlightingFromPrefs();
@@ -368,6 +377,7 @@ class AccessibilityManager
session_state_observer_;
PrefHandler large_cursor_pref_handler_;
+ PrefHandler sticky_keys_pref_handler_;
PrefHandler spoken_feedback_pref_handler_;
PrefHandler high_contrast_pref_handler_;
PrefHandler autoclick_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_;
« no previous file with comments | « ash/metrics/user_metrics_recorder.cc ('k') | chrome/browser/chromeos/accessibility/accessibility_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698