DescriptionPDF pinch-zoom: preventDefault on 2 finger touchmoves, not touchstarts.
Currently, to prevent native pinch-zoom from interfering with how we
handle pinch-zoom in the PDF viewer, we preventDefault the 2 finger
touchstart that corresponds to the gesture pinch start. However, this
also prevents 2 finger tap gestures.
We now preventDefault the 2 finger touchmoves so that native pinch-zoom
is still prevented, while 2 finger tap gestures are not affected.
BUG=716123
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2847893005
Cr-Commit-Position: refs/heads/master@{#468986}
Committed: https://chromium.googlesource.com/chromium/src/+/fee63e1624e66315c67ac29c9d62e950944e012c
Patch Set 1 #
Messages
Total messages: 16 (11 generated)
|