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

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

Issue 2613533003: Tap suppression controller forwards the next TapCancel when the stashed TapDown is forwarded. (Closed)
Patch Set: Created 3 years, 12 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
Index: content/browser/renderer_host/input/touchscreen_tap_suppression_controller.h
diff --git a/content/browser/renderer_host/input/touchscreen_tap_suppression_controller.h b/content/browser/renderer_host/input/touchscreen_tap_suppression_controller.h
index c7a3039530afdb7cebd225488f72c00e35df62c1..64f72a0d7a5e5d3bb07a53957d3524faad9f3665 100644
--- a/content/browser/renderer_host/input/touchscreen_tap_suppression_controller.h
+++ b/content/browser/renderer_host/input/touchscreen_tap_suppression_controller.h
@@ -50,6 +50,11 @@ class TouchscreenTapSuppressionController
ScopedGestureEvent stashed_show_press_;
ScopedGestureEvent stashed_long_press_;
+ // This is true when the stashed GestureTapDown event gets forwarded. The
+ // controller should forward the next GestureTapCancel as well to maintain a
+ // valid input stream.
+ bool forward_next_tap_cancel_;
+
// The core controller of tap suppression.
TapSuppressionController controller_;

Powered by Google App Engine
This is Rietveld 408576698