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

Unified Diff: content/browser/renderer_host/input/tap_suppression_controller_client.h

Issue 2542453003: Suppress LongPress/Tap, and TwoFingerTap when TapDown cancels a fling. (Closed)
Patch Set: clarification comments added. 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/input/tap_suppression_controller_client.h
diff --git a/content/browser/renderer_host/input/tap_suppression_controller_client.h b/content/browser/renderer_host/input/tap_suppression_controller_client.h
index d55613c9014e5d414da6ade725e32511be3337dd..0b917a6af13bae7d95ecb13dc7736fb5afb94ba4 100644
--- a/content/browser/renderer_host/input/tap_suppression_controller_client.h
+++ b/content/browser/renderer_host/input/tap_suppression_controller_client.h
@@ -18,9 +18,14 @@ class TapSuppressionControllerClient {
// Called whenever the deferred tap down (if saved) should be dropped totally.
virtual void DropStashedTapDown() = 0;
- // Called whenever the deferred tap down (if saved) should be forwarded to the
- // renderer. The tap down should go back to normal path it was
- // on before being deferred.
+ // Called whenever the deferred tap down and other gesture events (if saved)
+ // should be forwarded to the renderer. The tap down (and possibly other
+ // gesture events) should go back to normal path they were on before being
+ // deferred.
+ virtual void ForwardStashedGestureEvents() = 0;
+
+ // Called whenever only the deferred tap down (if saved) should be forwarded
+ // to the renderer. Other saved gesture events will be dropped.
virtual void ForwardStashedTapDown() = 0;
protected:

Powered by Google App Engine
This is Rietveld 408576698