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

Side by Side Diff: ash/common/accessibility_delegate.h

Issue 2535723008: Revert "Toggle spoken feedback if two fingers are held down." (Closed)
Patch Set: Don't revert metrics changes Created 4 years 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 #ifndef ASH_COMMON_ACCESSIBILITY_DELEGATE_H_ 5 #ifndef ASH_COMMON_ACCESSIBILITY_DELEGATE_H_
6 #define ASH_COMMON_ACCESSIBILITY_DELEGATE_H_ 6 #define ASH_COMMON_ACCESSIBILITY_DELEGATE_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/accessibility_types.h" 9 #include "ash/common/accessibility_types.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // Gets a saved value of the zoom scale of full screen magnifier. If a value 114 // Gets a saved value of the zoom scale of full screen magnifier. If a value
115 // is not saved, return a negative value. 115 // is not saved, return a negative value.
116 virtual double GetSavedScreenMagnifierScale() = 0; 116 virtual double GetSavedScreenMagnifierScale() = 0;
117 117
118 // Triggers an accessibility alert to give the user feedback. 118 // Triggers an accessibility alert to give the user feedback.
119 virtual void TriggerAccessibilityAlert(AccessibilityAlert alert) = 0; 119 virtual void TriggerAccessibilityAlert(AccessibilityAlert alert) = 0;
120 120
121 // Gets the last accessibility alert that was triggered. 121 // Gets the last accessibility alert that was triggered.
122 virtual AccessibilityAlert GetLastAccessibilityAlert() = 0; 122 virtual AccessibilityAlert GetLastAccessibilityAlert() = 0;
123 123
124 // Play tick sound indicating spoken feedback will be toggled after countdown.
125 virtual void PlaySpokenFeedbackToggleCountdown(int tick_count) = 0;
126
127 // Plays an earcon. Earcons are brief and distinctive sounds that indicate 124 // Plays an earcon. Earcons are brief and distinctive sounds that indicate
128 // when their mapped event has occurred. The sound key enums can be found in 125 // when their mapped event has occurred. The sound key enums can be found in
129 // chromeos/audio/chromeos_sounds.h. 126 // chromeos/audio/chromeos_sounds.h.
130 virtual void PlayEarcon(int sound_key) = 0; 127 virtual void PlayEarcon(int sound_key) = 0;
131 128
132 // Initiates play of shutdown sound and returns it's duration. 129 // Initiates play of shutdown sound and returns it's duration.
133 virtual base::TimeDelta PlayShutdownSound() const = 0; 130 virtual base::TimeDelta PlayShutdownSound() const = 0;
134 131
135 // Forward an accessibility gesture from the touch exploration controller to 132 // Forward an accessibility gesture from the touch exploration controller to
136 // ChromeVox. 133 // ChromeVox.
137 virtual void HandleAccessibilityGesture(ui::AXGesture gesture) = 0; 134 virtual void HandleAccessibilityGesture(ui::AXGesture gesture) = 0;
138 }; 135 };
139 136
140 } // namespace ash 137 } // namespace ash
141 138
142 #endif // ASH_COMMON_ACCESSIBILITY_DELEGATE_H_ 139 #endif // ASH_COMMON_ACCESSIBILITY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/ash_touch_exploration_manager_chromeos.cc ('k') | ash/common/default_accessibility_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698