 Chromium Code Reviews
 Chromium Code Reviews Issue 2542453003:
  Suppress LongPress/Tap, and TwoFingerTap when TapDown cancels a fling.  (Closed)
    
  
    Issue 2542453003:
  Suppress LongPress/Tap, and TwoFingerTap when TapDown cancels a fling.  (Closed) 
  | 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..406d71ade520d031cc5c749ca484e3eceb5ff9bc 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 contorller enters the SUPPRESSING_TAPS state. | 
| 
tdresser
2016/12/07 19:53:21
controller
 
sahel
2016/12/09 16:49:12
Done.
 | 
| + // This state shows that the controller will suppress LongTap, | 
| + // TwoFingerTap, and TapCancel gesture events untill the next tapDown event | 
| 
tdresser
2016/12/07 19:53:21
until
 
sahel
2016/12/09 16:49:12
Done.
 | 
| + // arrives. | 
| + SUPPRESSING_TAPS, | 
| }; | 
| TapSuppressionControllerClient* client_; |