Add suppresion of slop region touches in browser

Desktop / Chromium - nzolghadr [chromium.org] - 18 April 2017 11:56 EDT

This change tentaively adds back the touch slop region suppression in browser. This will cause the touch pointerevents stop firing while the touch point is moving within the slop region. But we would like to see whether it affects our TouchToFirstScrollUpdateSwapBegin metric or not.

BUG=704935

Review-Url: https://codereview.chromium.org/2816613003 Cr-Commit-Position: refs/heads/master@{#465252}

b812603 Add suppresion of slop region touches in browser
.../input/passthrough_touch_event_queue.cc | 63 ++++++++++++++++++++++
.../input/passthrough_touch_event_queue.h | 5 ++
.../passthrough_touch_event_queue_unittest.cc | 26 ++++-----
.../render_widget_host_view_aura_unittest.cc | 2 +-
4 files changed, 79 insertions(+), 17 deletions(-)

Upstream: git.chromium.org


  • Share