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

Unified Diff: ash/accessibility_delegate.h

Issue 1785833002: Add 5 experimental accessibility features on Chrome OS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change option_name to option-name Created 4 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
« no previous file with comments | « no previous file | ash/default_accessibility_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accessibility_delegate.h
diff --git a/ash/accessibility_delegate.h b/ash/accessibility_delegate.h
index cb821c8ad0a4eb1025b9f4a4a3381a2d599a7a09..f702c2a2e2ea5dc729d84a0f253a8f7a77958aab 100644
--- a/ash/accessibility_delegate.h
+++ b/ash/accessibility_delegate.h
@@ -59,6 +59,36 @@ class ASH_EXPORT AccessibilityDelegate {
// Returns if the a11y virtual keyboard is enabled.
virtual bool IsVirtualKeyboardEnabled() const = 0;
+ // Invoked to enable or disable caret highlighting.
+ virtual void SetCaretHighlightEnabled(bool enabled) = 0;
+
+ // Returns if caret highlighting is enabled.
+ virtual bool IsCaretHighlightEnabled() const = 0;
+
+ // Invoked to enable or disable cursor highlighting.
+ virtual void SetCursorHighlightEnabled(bool enabled) = 0;
+
+ // Returns if cursor highlighting is enabled.
+ virtual bool IsCursorHighlightEnabled() const = 0;
+
+ // Invoked to enable or disable focus highlighting.
+ virtual void SetFocusHighlightEnabled(bool enabled) = 0;
+
+ // Returns if focus highlighting is enabled.
+ virtual bool IsFocusHighlightEnabled() const = 0;
+
+ // Invoked to enable or disable select-to-speak.
+ virtual void SetSelectToSpeakEnabled(bool enabled) = 0;
+
+ // Returns if select-to-speak is enabled.
+ virtual bool IsSelectToSpeakEnabled() const = 0;
+
+ // Invoked to enable or disable switch access.
+ virtual void SetSwitchAccessEnabled(bool enabled) = 0;
+
+ // Returns if switch access is enabled.
+ virtual bool IsSwitchAccessEnabled() const = 0;
+
// Returns true when the accessibility menu should be shown.
virtual bool ShouldShowAccessibilityMenu() const = 0;
« no previous file with comments | « no previous file | ash/default_accessibility_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698