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

Unified Diff: ash/default_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: Get rid of extra metrics 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
Index: ash/default_accessibility_delegate.h
diff --git a/ash/default_accessibility_delegate.h b/ash/default_accessibility_delegate.h
index e973f56d056c04b771e7f42655ec8c1e5bb8e1c2..91aafdfecfe6141acc048c45cd43b9feac9f5ebf 100644
--- a/ash/default_accessibility_delegate.h
+++ b/ash/default_accessibility_delegate.h
@@ -30,6 +30,16 @@ class ASH_EXPORT DefaultAccessibilityDelegate : public AccessibilityDelegate {
bool IsAutoclickEnabled() const override;
void SetVirtualKeyboardEnabled(bool enabled) override;
bool IsVirtualKeyboardEnabled() const override;
+ void SetCaretHighlightEnabled(bool enabled) override;
+ bool IsCaretHighlightEnabled() const override;
+ void SetCursorHighlightEnabled(bool enabled) override;
+ bool IsCursorHighlightEnabled() const override;
+ void SetFocusHighlightEnabled(bool enabled) override;
+ bool IsFocusHighlightEnabled() const override;
+ void SetSelectToSpeakEnabled(bool enabled) override;
+ bool IsSelectToSpeakEnabled() const override;
+ void SetSwitchAccessEnabled(bool enabled) override;
+ bool IsSwitchAccessEnabled() const override;
bool ShouldShowAccessibilityMenu() const override;
bool IsBrailleDisplayConnected() const override;
void SilenceSpokenFeedback() const override;
@@ -50,6 +60,11 @@ class ASH_EXPORT DefaultAccessibilityDelegate : public AccessibilityDelegate {
bool large_cursor_enabled_;
bool autoclick_enabled_;
bool virtual_keyboard_enabled_;
+ bool caret_highlight_enabled_;
+ bool cursor_highlight_enabled_;
+ bool focus_highligh_enabled_;
+ bool select_to_speak_enabled_;
+ bool switch_access_enabled_;
Dan Beam 2016/03/11 05:35:40 nit: you know you can do inline initialization now
dmazzoni 2016/03/11 20:29:35 Totally not used to that. :) Done for this file.
ui::AccessibilityAlert accessibility_alert_;
DISALLOW_COPY_AND_ASSIGN(DefaultAccessibilityDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698