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

Issue 27043004: [Android] Disable double-tap gesture detection with fixed page scale (Closed)

Created:
7 years, 2 months ago by jdduke (slow)
Modified:
7 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, klobag.chromium, aelias_OOO_until_Jul13
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[Android] Disable double-tap gesture detection with fixed page scale Double-tap gestures, either for zoom or drag zoom, have no effect when the page scale is fixed. Disable double-tap gesture detection completely in this case, allowing fast sequential tapping, eliminating associated gesture detection delays and suppressing spurious pinch event sequences. BUG=295906 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=228603

Patch Set 1 #

Patch Set 2 : Disable the double-tap listener either for fixed scale or disabled double tap #

Total comments: 3

Patch Set 3 : Rebase #

Total comments: 6

Patch Set 4 : Code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -81 lines) Patch
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 1 chunk +1 line, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 4 chunks +7 lines, -5 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java View 1 2 3 16 chunks +77 lines, -51 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/ContentViewGestureHandlerTest.java View 1 2 3 7 chunks +140 lines, -24 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
jdduke (slow)
PTAL. @kkimlabs: Why do we always abort "onDoubleTapEvent()" if double-tap drag zoom is disabled? Don't ...
7 years, 2 months ago (2013-10-11 18:42:40 UTC) #1
Kibeom Kim (inactive)
On 2013/10/11 18:42:40, jdduke wrote: > PTAL. > > @kkimlabs: Why do we always abort ...
7 years, 2 months ago (2013-10-11 19:04:05 UTC) #2
jdduke (slow)
Hmmm... OK, so it sounds like we just want a general disable/enable doubletap gestures knob... ...
7 years, 2 months ago (2013-10-11 19:07:50 UTC) #3
jdduke (slow)
On 2013/10/11 19:07:50, jdduke wrote: > Hmmm... OK, so it sounds like we just want ...
7 years, 2 months ago (2013-10-11 19:09:46 UTC) #4
benm (inactive)
On 2013/10/11 19:07:50, jdduke wrote: > Hmmm... OK, so it sounds like we just want ...
7 years, 2 months ago (2013-10-11 19:14:02 UTC) #5
jdduke (slow)
Oh I think the WebView changes are fine, with perhaps a slight rename tweak. This ...
7 years, 2 months ago (2013-10-11 19:38:00 UTC) #6
jdduke (slow)
https://codereview.chromium.org/27043004/diff/11001/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java File content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java (right): https://codereview.chromium.org/27043004/diff/11001/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java#newcode500 content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java:500: } else if (mHasFixedPageScale) { On 2013/10/11 19:38:01, jdduke ...
7 years, 2 months ago (2013-10-11 19:39:56 UTC) #7
jdduke (slow)
techoc@: PTAL for owners. wangxianzhu@: Would you mind double-checking this logic? Thanks.
7 years, 2 months ago (2013-10-14 17:11:05 UTC) #8
Ted C
OWNERS lgtm w/ nits https://codereview.chromium.org/27043004/diff/39001/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java File content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java (right): https://codereview.chromium.org/27043004/diff/39001/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java#newcode1207 content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java:1207: public void updateDoubleTapSupport(boolean supportDoubleTap) { ...
7 years, 2 months ago (2013-10-14 17:34:08 UTC) #9
jdduke (slow)
Thanks for review! https://codereview.chromium.org/27043004/diff/39001/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java File content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java (right): https://codereview.chromium.org/27043004/diff/39001/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java#newcode1207 content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java:1207: public void updateDoubleTapSupport(boolean supportDoubleTap) { On ...
7 years, 2 months ago (2013-10-14 17:48:31 UTC) #10
Xianzhu
lgtm.
7 years, 2 months ago (2013-10-14 17:50:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/27043004/46001
7 years, 2 months ago (2013-10-14 18:03:34 UTC) #12
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=30125
7 years, 2 months ago (2013-10-14 18:21:50 UTC) #13
jdduke (slow)
benm@: OWNER review for android_webview/? Thanks.
7 years, 2 months ago (2013-10-14 18:27:53 UTC) #14
boliu
android_webview lgtm
7 years, 2 months ago (2013-10-14 20:22:36 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/27043004/46001
7 years, 2 months ago (2013-10-14 20:26:42 UTC) #16
commit-bot: I haz the power
7 years, 2 months ago (2013-10-15 03:04:48 UTC) #17
Message was sent while issue was closed.
Change committed as 228603

Powered by Google App Engine
This is Rietveld 408576698