Make touch-action apply to double-tap zoom
commit0783edd0434ef5cac5019905e9c32777e3e0a79e
authortdresser@chromium.org <tdresser@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 19 Feb 2014 20:48:20 +0000 (19 20:48 +0000)
committertdresser@chromium.org <tdresser@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 19 Feb 2014 20:48:20 +0000 (19 20:48 +0000)
tree38ddc7d7ccc3974bcf3740ace2b5d1c8d6568cf9
parent018d09d64b5b009399ef46eb6bf7ba4b4e692650
Make touch-action apply to double-tap zoom

Filter out GestureDoubleTap events on elements with touch-actions
other than auto. When GestureDoubleTap is being filtered out,
we also eliminate the tap delay.

BUG=337534
TEST=TouchActionFilterTest.DoubleTap,
  TouchActionFilterTest.DoubleTapWithTouchActionAuto

Review URL: https://codereview.chromium.org/170603002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252073 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/renderer_host/input/touch_action_filter.cc
content/browser/renderer_host/input/touch_action_filter.h
content/browser/renderer_host/input/touch_action_filter_unittest.cc