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

Issue 132083006: Delegate touch handler registration logic to the TouchEventQueue (Closed)

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

Description

Delegate touch handler registration logic to the TouchEventQueue Teach the TouchEventQueue about touch handler registration, allowing it to make more informed touch forwarding decisions. This also prevents corner cases where a partial touch sequence would be improperly forwarded to the renderer after a touch handler is registered. BUG=332418 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244072

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 13

Patch Set 3 : Fix InputRouter tests #

Patch Set 4 : Code review #

Patch Set 5 : Comment cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -51 lines) Patch
M content/browser/renderer_host/input/input_router_impl.h View 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl.cc View 1 2 3 3 chunks +4 lines, -10 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl_unittest.cc View 1 2 5 chunks +11 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue.h View 4 chunks +14 lines, -4 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue.cc View 1 2 3 4 8 chunks +54 lines, -9 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue_unittest.cc View 1 2 3 9 chunks +71 lines, -21 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jdduke (slow)
tdresser@: PTAL. Thanks. This logic is somewhat redundant with what we have in ContentViewGestureHandler, but ...
6 years, 11 months ago (2014-01-09 19:20:43 UTC) #1
tdresser
A few nits, and a few questions about behavior I'm not clear on. I'll another ...
6 years, 11 months ago (2014-01-09 21:14:31 UTC) #2
jdduke (slow)
Thanks for review! Tests fixed. There's a failure on linux_chromeos, accessibility_unittests_br, but it looks like ...
6 years, 11 months ago (2014-01-09 22:05:03 UTC) #3
tdresser
On 2014/01/09 22:05:03, jdduke wrote: > Thanks for review! Tests fixed. There's a failure on ...
6 years, 11 months ago (2014-01-09 22:19:52 UTC) #4
tdresser
https://codereview.chromium.org/132083006/diff/30001/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/132083006/diff/30001/content/browser/renderer_host/input/touch_event_queue.cc#newcode383 content/browser/renderer_host/input/touch_event_queue.cc:383: // if we cache the last WebTouchEvent sent to ...
6 years, 11 months ago (2014-01-09 22:20:41 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/132083006/260001
6 years, 11 months ago (2014-01-09 22:41:17 UTC) #6
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=111350
6 years, 11 months ago (2014-01-10 00:35:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/132083006/260001
6 years, 11 months ago (2014-01-10 01:47:14 UTC) #8
commit-bot: I haz the power
6 years, 11 months ago (2014-01-10 03:37:05 UTC) #9
Message was sent while issue was closed.
Change committed as 244072

Powered by Google App Engine
This is Rietveld 408576698