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

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: Style and const correctness fixes. 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
« no previous file with comments | « ash/default_accessibility_delegate.h ('k') | ash/system/tray_accessibility.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() 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
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
OLDNEW
« no previous file with comments | « ash/default_accessibility_delegate.h ('k') | ash/system/tray_accessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698