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

Side by Side Diff: ash/default_accessibility_delegate.cc

Issue 2808053004: Fire accessibilityPrivate events on two-finger hold gesture. (Closed)
Patch Set: Rebase Created 3 years, 8 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 10
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 155
156 void DefaultAccessibilityDelegate::TriggerAccessibilityAlert( 156 void DefaultAccessibilityDelegate::TriggerAccessibilityAlert(
157 AccessibilityAlert alert) { 157 AccessibilityAlert alert) {
158 accessibility_alert_ = alert; 158 accessibility_alert_ = alert;
159 } 159 }
160 160
161 AccessibilityAlert DefaultAccessibilityDelegate::GetLastAccessibilityAlert() { 161 AccessibilityAlert DefaultAccessibilityDelegate::GetLastAccessibilityAlert() {
162 return accessibility_alert_; 162 return accessibility_alert_;
163 } 163 }
164 164
165 void DefaultAccessibilityDelegate::OnTwoFingerTouchStart() {}
166
167 void DefaultAccessibilityDelegate::OnTwoFingerTouchStop() {}
168
165 bool DefaultAccessibilityDelegate::ShouldToggleSpokenFeedbackViaTouch() { 169 bool DefaultAccessibilityDelegate::ShouldToggleSpokenFeedbackViaTouch() {
166 return false; 170 return false;
167 } 171 }
168 172
169 void DefaultAccessibilityDelegate::PlaySpokenFeedbackToggleCountdown( 173 void DefaultAccessibilityDelegate::PlaySpokenFeedbackToggleCountdown(
170 int tick_count) {} 174 int tick_count) {}
171 175
172 void DefaultAccessibilityDelegate::PlayEarcon(int sound_key) {} 176 void DefaultAccessibilityDelegate::PlayEarcon(int sound_key) {}
173 177
174 base::TimeDelta DefaultAccessibilityDelegate::PlayShutdownSound() const { 178 base::TimeDelta DefaultAccessibilityDelegate::PlayShutdownSound() const {
175 return base::TimeDelta(); 179 return base::TimeDelta();
176 } 180 }
177 181
178 void DefaultAccessibilityDelegate::HandleAccessibilityGesture( 182 void DefaultAccessibilityDelegate::HandleAccessibilityGesture(
179 ui::AXGesture gesture) {} 183 ui::AXGesture gesture) {}
180 184
181 } // namespace ash 185 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698