Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Issue 2847893005: PDF pinch-zoom: preventDefault on 2 finger touchmoves, not touchstarts. (Closed)

Created:
3 years, 7 months ago by Kevin McNee
Modified:
3 years, 7 months ago
Reviewers:
dsinclair, raymes
CC:
chromium-reviews, arv+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

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} Committed: https://chromium.googlesource.com/chromium/src/+/fee63e1624e66315c67ac29c9d62e950944e012c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -8 lines) Patch
M chrome/browser/resources/pdf/gesture_detector.js View 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/test/data/pdf/gesture_detector_test.js View 1 chunk +13 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
Kevin McNee
Hello, raymes. This is the CL that dsinclair's long press CL (https://codereview.chromium.org/2855953003/) depends on. bokan ...
3 years, 7 months ago (2017-05-02 20:20:13 UTC) #8
raymes
lgtm In the future please send reviews to someone else working on PDF for a ...
3 years, 7 months ago (2017-05-02 22:05:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2847893005/1
3 years, 7 months ago (2017-05-03 13:39:28 UTC) #11
dsinclair
lgtm
3 years, 7 months ago (2017-05-03 14:49:44 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 15:51:34 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/fee63e1624e66315c67ac29c9d62...

Powered by Google App Engine
This is Rietveld 408576698