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

Unified Diff: ui/chromeos/touch_accessibility_enabler.h

Issue 2808053004: Fire accessibilityPrivate events on two-finger hold gesture. (Closed)
Patch Set: Address feedback 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/chromeos/touch_accessibility_enabler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/chromeos/touch_accessibility_enabler.h
diff --git a/ui/chromeos/touch_accessibility_enabler.h b/ui/chromeos/touch_accessibility_enabler.h
index 1b25990a105b1562ec5aa46863057ae089567f87..67cba2b78fcbd1817fbf002c29678bf9b4cfc98b 100644
--- a/ui/chromeos/touch_accessibility_enabler.h
+++ b/ui/chromeos/touch_accessibility_enabler.h
@@ -30,6 +30,13 @@ class TouchAccessibilityEnablerDelegate {
public:
virtual ~TouchAccessibilityEnablerDelegate() {}
+ // Called when we first detect two fingers are held down.
+ virtual void OnTwoFingerTouchStart() {}
+
+ // Called when the user is no longer holding down two fingers (including
+ // releasing one, holding down three, or moving them).
+ virtual void OnTwoFingerTouchStop() {}
+
// 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
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/chromeos/touch_accessibility_enabler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698