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

Unified Diff: chrome/browser/chromeos/accessibility/accessibility_manager.h

Issue 2476843003: Toggle spoken feedback if two fingers are held down. (Closed)
Patch Set: Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/accessibility/accessibility_manager.h
diff --git a/chrome/browser/chromeos/accessibility/accessibility_manager.h b/chrome/browser/chromeos/accessibility/accessibility_manager.h
index dda34505353b2c1d13574786248ab9a55d066c02..71be3897169e3b76327dd329cf01e4bab5a5ae24 100644
--- a/chrome/browser/chromeos/accessibility/accessibility_manager.h
+++ b/chrome/browser/chromeos/accessibility/accessibility_manager.h
@@ -249,6 +249,12 @@ class AccessibilityManager
// Notify accessibility when locale changes occur.
void OnLocaleChanged();
+ // While the user holds down two fingers on a touch screen, which is the
+ // gesture to enable spoken feedback (if held down long enough), play a sound
+ // every "tick" (approximately every half-second) to warn the user something
+ // is about to happen.
+ bool PlaySpokenFeedbackToggleCountdown(int tick_count);
+
// Plays an earcon. Earcons are brief and distinctive sounds that indicate
// when their mapped event has occurred. The sound key enums can be found in
// chromeos/audio/chromeos_sounds.h.

Powered by Google App Engine
This is Rietveld 408576698