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

Issue 172263007: [Android] Ensure slop-exceeding TouchMove's are sent to the renderer (Closed)

Created:
6 years, 10 months ago by jdduke (slow)
Modified:
6 years, 10 months ago
Reviewers:
tdresser, Rick Byers
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, Rick Byers
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[Android] Ensure slop-exceeding TouchMove's are sent to the renderer Without floating point DIP coords in WebTouchPoint, it's possible that a TouchMove physically outside the pixel slop region will be classified as inside the DIP slop region. This leads to cases where a touch handler is never offered a TouchMove before a ScrollBegin occurs. Until the resolution of crbug.com/3336807, address this by conservatively constructing the DIP slop region in the TouchEventQueue, ensuring that touch handlers are offered at least one TouchMove before scrolling begins. BUG=345507 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252773

Patch Set 1 #

Total comments: 5

Patch Set 2 : Bug link fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -9 lines) Patch
M content/browser/renderer_host/input/touch_event_queue.cc View 1 2 chunks +8 lines, -4 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue_unittest.cc View 4 chunks +48 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
jdduke (slow)
tdresser@: PTAL. Sorry I didn't catch this the first time =/
6 years, 10 months ago (2014-02-21 20:13:29 UTC) #1
Rick Byers
https://codereview.chromium.org/172263007/diff/1/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/172263007/diff/1/content/browser/renderer_host/input/touch_event_queue.cc#newcode205 content/browser/renderer_host/input/touch_event_queue.cc:205: if ((position - touch_sequence_start_position_).LengthSquared() >= In my Aura fix ...
6 years, 10 months ago (2014-02-21 20:22:48 UTC) #2
tdresser
LGTM with nit. https://codereview.chromium.org/172263007/diff/1/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/172263007/diff/1/content/browser/renderer_host/input/touch_event_queue.cc#newcode179 content/browser/renderer_host/input/touch_event_queue.cc:179: // TODO(jdduke): Remove int cast on ...
6 years, 10 months ago (2014-02-21 21:44:49 UTC) #3
jdduke (slow)
https://codereview.chromium.org/172263007/diff/1/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/172263007/diff/1/content/browser/renderer_host/input/touch_event_queue.cc#newcode179 content/browser/renderer_host/input/touch_event_queue.cc:179: // TODO(jdduke): Remove int cast on suppression length, crbug.com/3336807. ...
6 years, 10 months ago (2014-02-21 22:29:05 UTC) #4
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 10 months ago (2014-02-21 22:29:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/172263007/90001
6 years, 10 months ago (2014-02-21 22:32:10 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-22 00:00:37 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=268207
6 years, 10 months ago (2014-02-22 00:00:37 UTC) #8
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 10 months ago (2014-02-22 00:07:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/172263007/90001
6 years, 10 months ago (2014-02-22 00:10:12 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/172263007/90001
6 years, 10 months ago (2014-02-22 01:31:28 UTC) #11
commit-bot: I haz the power
6 years, 10 months ago (2014-02-22 08:15:44 UTC) #12
Message was sent while issue was closed.
Change committed as 252773

Powered by Google App Engine
This is Rietveld 408576698