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

Unified Diff: chrome/browser/ui/ash/chrome_shell_delegate.cc

Issue 2802783002: List all a11y features in a11y detailed view in ash system menu (Closed)
Patch Set: 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/ui/ash/chrome_shell_delegate.cc
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc
index d20b74c25a972bc0e26cb3383948a9026abdb940..2a36fdefddaf703c068c3a40bd5bf215037339a9 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -221,6 +221,26 @@ class AccessibilityDelegateImpl : public ash::AccessibilityDelegate {
return AccessibilityManager::Get()->IsFocusHighlightEnabled();
}
+ void SetStickyKeysEnabled(bool enabled) override {
+ DCHECK(AccessibilityManager::Get());
+ return AccessibilityManager::Get()->EnableStickyKeys(enabled);
+ }
+
+ bool IsStickyKeysEnabled() const override {
+ DCHECK(AccessibilityManager::Get());
+ return AccessibilityManager::Get()->IsStickyKeysEnabled();
+ }
+
+ void SetTapDraggingEnabled(bool enabled) override {
+ DCHECK(AccessibilityManager::Get());
+ return AccessibilityManager::Get()->EnableTapDragging(enabled);
+ }
+
+ bool IsTapDraggingEnabled() const override {
+ DCHECK(AccessibilityManager::Get());
+ return AccessibilityManager::Get()->IsTapDraggingEnabled();
+ }
+
void SetSelectToSpeakEnabled(bool enabled) override {
DCHECK(AccessibilityManager::Get());
AccessibilityManager::Get()->SetSelectToSpeakEnabled(enabled);

Powered by Google App Engine
This is Rietveld 408576698