Preserve tap-count when a gesture double-tap becomes a gesture-tap.
When a double-tap is dropped through a touch-action (e.g. "none" or "manipulation"), we replace the double-tap event with a single-tap which is the second single-tap in the gesture sequence. Blink dispatches compat "click" events for both these taps. Without a correct tap-count (==2) in the second tap, a follow-up "dblclick" event is not dispatched, which is wrong. This CL fixes the problem. Bug: 874474 Change-Id: I25f9806e5ec9f211f9f83d59e8949052a816aaf3 Reviewed-on: https://chromium-review.googlesource.com/c/1276846Reviewed-by:Xida Chen <xidachen@chromium.org> Reviewed-by:
Navid Zolghadr <nzolghadr@chromium.org> Commit-Queue: Mustaq Ahmed <mustaq@chromium.org> Cr-Commit-Position: refs/heads/master@{#598928}
Showing
Please register or sign in to comment