| OLD | NEW |
| 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 Loading... |
| 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() const { |
| 87 return false; |
| 88 } |
| 89 |
| 86 void DefaultAccessibilityDelegate::SilenceSpokenFeedback() const { | 90 void DefaultAccessibilityDelegate::SilenceSpokenFeedback() const { |
| 87 } | 91 } |
| 88 | 92 |
| 89 void DefaultAccessibilityDelegate::ToggleSpokenFeedback( | 93 void DefaultAccessibilityDelegate::ToggleSpokenFeedback( |
| 90 AccessibilityNotificationVisibility notify) { | 94 AccessibilityNotificationVisibility notify) { |
| 91 spoken_feedback_enabled_ = !spoken_feedback_enabled_; | 95 spoken_feedback_enabled_ = !spoken_feedback_enabled_; |
| 92 } | 96 } |
| 93 | 97 |
| 94 void DefaultAccessibilityDelegate::SaveScreenMagnifierScale(double scale) { | 98 void DefaultAccessibilityDelegate::SaveScreenMagnifierScale(double scale) { |
| 95 } | 99 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 106 AccessibilityAlert DefaultAccessibilityDelegate::GetLastAccessibilityAlert() { | 110 AccessibilityAlert DefaultAccessibilityDelegate::GetLastAccessibilityAlert() { |
| 107 return accessibility_alert_; | 111 return accessibility_alert_; |
| 108 } | 112 } |
| 109 | 113 |
| 110 base::TimeDelta DefaultAccessibilityDelegate::PlayShutdownSound() const { | 114 base::TimeDelta DefaultAccessibilityDelegate::PlayShutdownSound() const { |
| 111 return base::TimeDelta(); | 115 return base::TimeDelta(); |
| 112 } | 116 } |
| 113 | 117 |
| 114 } // namespace internal | 118 } // namespace internal |
| 115 } // namespace ash | 119 } // namespace ash |
| OLD | NEW |