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

Unified Diff: ash/common/default_accessibility_delegate.cc

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
« no previous file with comments | « ash/common/default_accessibility_delegate.h ('k') | ash/common/metrics/user_metrics_action.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/default_accessibility_delegate.cc
diff --git a/ash/common/default_accessibility_delegate.cc b/ash/common/default_accessibility_delegate.cc
index 6a1bd37b533a239a73267a72f67ba76ed05d9b29..0c21c052d71b747d6f801ddd1bb2f6f840d56696 100644
--- a/ash/common/default_accessibility_delegate.cc
+++ b/ash/common/default_accessibility_delegate.cc
@@ -96,6 +96,22 @@ bool DefaultAccessibilityDelegate::IsFocusHighlightEnabled() const {
return focus_highligh_enabled_;
}
+void DefaultAccessibilityDelegate::SetStickyKeysEnabled(bool enabled) {
+ sticky_keys_enabled_ = enabled;
+}
+
+bool DefaultAccessibilityDelegate::IsStickyKeysEnabled() const {
+ return sticky_keys_enabled_;
+}
+
+void DefaultAccessibilityDelegate::SetTapDraggingEnabled(bool enabled) {
+ tap_dragging_enabled_ = enabled;
+}
+
+bool DefaultAccessibilityDelegate::IsTapDraggingEnabled() const {
+ return tap_dragging_enabled_;
+}
+
void DefaultAccessibilityDelegate::SetSelectToSpeakEnabled(bool enabled) {
select_to_speak_enabled_ = enabled;
}
« no previous file with comments | « ash/common/default_accessibility_delegate.h ('k') | ash/common/metrics/user_metrics_action.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698