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() { return false; } | |
oshima
2014/03/26 19:42:54
move the body to next line like
bool class::method
| |
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 Loading... | |
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 |
OLD | NEW |