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

Unified Diff: content/browser/renderer_host/input/tap_suppression_controller.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.h
diff --git a/content/browser/renderer_host/input/tap_suppression_controller.h b/content/browser/renderer_host/input/tap_suppression_controller.h
index dc0def55e039c019ac7ba8fd42e8469a86ac4303..b238258b1c8909c6e5c5bd39baedbe3b4fdd198f 100644
--- a/content/browser/renderer_host/input/tap_suppression_controller.h
+++ b/content/browser/renderer_host/input/tap_suppression_controller.h
@@ -70,6 +70,12 @@ class CONTENT_EXPORT TapSuppressionController {
GFC_IN_PROGRESS,
TAP_DOWN_STASHED,
LAST_CANCEL_STOPPED_FLING,
+ // When the stashed TapDown event is dropped or forwarded due to tap down
+ // timer expiration, the controller enters the SUPPRESSING_TAPS state.
+ // This state shows that the controller will suppress LongTap,
+ // TwoFingerTap, and TapCancel gesture events until the next tapDown event
+ // arrives.
+ SUPPRESSING_TAPS,
};
TapSuppressionControllerClient* client_;

Powered by Google App Engine
This is Rietveld 408576698