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

Side by Side Diff: ash/common/default_accessibility_delegate.cc

Issue 2396913002: Stop chromevox audio and clear focus highlight on switch to arc app (Closed)
Patch Set: Created 4 years, 2 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/common/default_accessibility_delegate.h" 5 #include "ash/common/default_accessibility_delegate.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 namespace ash { 9 namespace ash {
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 screen_magnifier_enabled_ || large_cursor_enabled_ || 117 screen_magnifier_enabled_ || large_cursor_enabled_ ||
118 autoclick_enabled_ || virtual_keyboard_enabled_ || mono_audio_enabled_; 118 autoclick_enabled_ || virtual_keyboard_enabled_ || mono_audio_enabled_;
119 } 119 }
120 120
121 bool DefaultAccessibilityDelegate::IsBrailleDisplayConnected() const { 121 bool DefaultAccessibilityDelegate::IsBrailleDisplayConnected() const {
122 return false; 122 return false;
123 } 123 }
124 124
125 void DefaultAccessibilityDelegate::SilenceSpokenFeedback() const {} 125 void DefaultAccessibilityDelegate::SilenceSpokenFeedback() const {}
126 126
127 void DefaultAccessibilityDelegate::ClearFocusHighlight() const {}
128
127 void DefaultAccessibilityDelegate::ToggleSpokenFeedback( 129 void DefaultAccessibilityDelegate::ToggleSpokenFeedback(
128 AccessibilityNotificationVisibility notify) { 130 AccessibilityNotificationVisibility notify) {
129 spoken_feedback_enabled_ = !spoken_feedback_enabled_; 131 spoken_feedback_enabled_ = !spoken_feedback_enabled_;
130 } 132 }
131 133
132 void DefaultAccessibilityDelegate::SaveScreenMagnifierScale(double scale) {} 134 void DefaultAccessibilityDelegate::SaveScreenMagnifierScale(double scale) {}
133 135
134 double DefaultAccessibilityDelegate::GetSavedScreenMagnifierScale() { 136 double DefaultAccessibilityDelegate::GetSavedScreenMagnifierScale() {
135 return std::numeric_limits<double>::min(); 137 return std::numeric_limits<double>::min();
136 } 138 }
(...skipping 10 matching lines...) Expand all
147 void DefaultAccessibilityDelegate::PlayEarcon(int sound_key) {} 149 void DefaultAccessibilityDelegate::PlayEarcon(int sound_key) {}
148 150
149 base::TimeDelta DefaultAccessibilityDelegate::PlayShutdownSound() const { 151 base::TimeDelta DefaultAccessibilityDelegate::PlayShutdownSound() const {
150 return base::TimeDelta(); 152 return base::TimeDelta();
151 } 153 }
152 154
153 void DefaultAccessibilityDelegate::HandleAccessibilityGesture( 155 void DefaultAccessibilityDelegate::HandleAccessibilityGesture(
154 ui::AXGesture gesture) {} 156 ui::AXGesture gesture) {}
155 157
156 } // namespace ash 158 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/default_accessibility_delegate.h ('k') | chrome/browser/ui/ash/chrome_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698