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

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: 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 | « chrome/browser/chromeos/system/tray_accessibility_browsertest.cc ('k') | tools/metrics/actions/actions.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 210e48a5e9b586f7bd2476df9232eae3e1e53ba3..d189ae6b2348dbe702f0614ee1e186926eddb8d2 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);
« no previous file with comments | « chrome/browser/chromeos/system/tray_accessibility_browsertest.cc ('k') | tools/metrics/actions/actions.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698