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

Issue 27220002: [Android] Properly handle cancelled scroll events (Closed)

Created:
7 years, 2 months ago by cjhopman
Modified:
7 years, 2 months ago
Reviewers:
Ted C
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, benm (inactive)
Visibility:
Public.

Description

[Android] Properly handle cancelled scroll events If the gesture handler receives an ACTION_CANCEL event during a scroll, it should tell native to end scrolling. Adds tests that the proper events are sent to native in both the normal scroll sequence and the cancelled sequence. BUG=b/10892868 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=228583

Patch Set 1 : #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : tests detect this as a fling??!? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -2 lines) Patch
M content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java View 1 chunk +2 lines, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ZoomManager.java View 1 1 chunk +4 lines, -1 line 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/ContentViewGestureHandlerTest.java View 1 2 1 chunk +69 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
cjhopman
tedchoc: *
7 years, 2 months ago (2013-10-14 17:52:26 UTC) #1
Ted C
Looks like the action_up test failed on the bots. Is something missing? https://codereview.chromium.org/27220002/diff/4001/content/public/android/java/src/org/chromium/content/browser/ZoomManager.java File content/public/android/java/src/org/chromium/content/browser/ZoomManager.java ...
7 years, 2 months ago (2013-10-14 20:05:37 UTC) #2
cjhopman
https://codereview.chromium.org/27220002/diff/4001/content/public/android/java/src/org/chromium/content/browser/ZoomManager.java File content/public/android/java/src/org/chromium/content/browser/ZoomManager.java (right): https://codereview.chromium.org/27220002/diff/4001/content/public/android/java/src/org/chromium/content/browser/ZoomManager.java#newcode127 content/public/android/java/src/org/chromium/content/browser/ZoomManager.java:127: || event.getActionMasked() == MotionEvent.ACTION_CANCEL)) return false; On 2013/10/14 20:05:38, ...
7 years, 2 months ago (2013-10-14 20:37:08 UTC) #3
Ted C
lgtm
7 years, 2 months ago (2013-10-14 21:12:32 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/27220002/17001
7 years, 2 months ago (2013-10-14 21:14:38 UTC) #5
commit-bot: I haz the power
Failed to trigger a try job on win7_aura HTTP Error 400: Bad Request
7 years, 2 months ago (2013-10-14 22:13:25 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/27220002/33001
7 years, 2 months ago (2013-10-14 22:13:30 UTC) #7
commit-bot: I haz the power
7 years, 2 months ago (2013-10-15 01:23:14 UTC) #8
Message was sent while issue was closed.
Change committed as 228583

Powered by Google App Engine
This is Rietveld 408576698