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

Side by Side Diff: ash/default_accessibility_delegate.cc

Issue 213233003: Show a notification when a braille display is connected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/default_accessibility_delegate.h" 5 #include "ash/default_accessibility_delegate.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 namespace ash { 9 namespace ash {
10 namespace internal { 10 namespace internal {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 bool DefaultAccessibilityDelegate::ShouldShowAccessibilityMenu() const { 77 bool DefaultAccessibilityDelegate::ShouldShowAccessibilityMenu() const {
78 return spoken_feedback_enabled_ || 78 return spoken_feedback_enabled_ ||
79 high_contrast_enabled_ || 79 high_contrast_enabled_ ||
80 screen_magnifier_enabled_ || 80 screen_magnifier_enabled_ ||
81 large_cursor_enabled_ || 81 large_cursor_enabled_ ||
82 autoclick_enabled_ || 82 autoclick_enabled_ ||
83 virtual_keyboard_enabled_; 83 virtual_keyboard_enabled_;
84 } 84 }
85 85
86 bool DefaultAccessibilityDelegate::IsBrailleDisplayConnected() { return false; }
87
86 void DefaultAccessibilityDelegate::SilenceSpokenFeedback() const { 88 void DefaultAccessibilityDelegate::SilenceSpokenFeedback() const {
87 } 89 }
88 90
89 void DefaultAccessibilityDelegate::ToggleSpokenFeedback( 91 void DefaultAccessibilityDelegate::ToggleSpokenFeedback(
90 AccessibilityNotificationVisibility notify) { 92 AccessibilityNotificationVisibility notify) {
91 spoken_feedback_enabled_ = !spoken_feedback_enabled_; 93 spoken_feedback_enabled_ = !spoken_feedback_enabled_;
92 } 94 }
93 95
94 void DefaultAccessibilityDelegate::SaveScreenMagnifierScale(double scale) { 96 void DefaultAccessibilityDelegate::SaveScreenMagnifierScale(double scale) {
95 } 97 }
(...skipping 10 matching lines...) Expand all
106 AccessibilityAlert DefaultAccessibilityDelegate::GetLastAccessibilityAlert() { 108 AccessibilityAlert DefaultAccessibilityDelegate::GetLastAccessibilityAlert() {
107 return accessibility_alert_; 109 return accessibility_alert_;
108 } 110 }
109 111
110 base::TimeDelta DefaultAccessibilityDelegate::PlayShutdownSound() const { 112 base::TimeDelta DefaultAccessibilityDelegate::PlayShutdownSound() const {
111 return base::TimeDelta(); 113 return base::TimeDelta();
112 } 114 }
113 115
114 } // namespace internal 116 } // namespace internal
115 } // namespace ash 117 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698