PDF 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}
Showing
Please register or sign in to comment