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

Issue 44983003: Events ignoring ack disposition receive synthetic acks. (Closed)

Created:
7 years, 1 month ago by tdresser
Modified:
7 years, 1 month ago
Reviewers:
jdduke (slow), Jói
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, Sami (do not use), sadrul, WRONG-USE-chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Events ignoring ack disposition receive synthetic acks. Logic to handle events which ignore ack disposition has moved from the |GestureEventFilter| to the |ImmediateInputRouter|, and |WebInputEventTraits|. This will allow us to make more events ignore their ack disposition, including touch events. Gesture event types which will eventually ignore their ack disposition include Tap, ScrollBegin, PinchBegin, PinchEnd, etc. BUG=302852, 275611 TEST=ImmediateInputRouterTest.EventsIgnoringAckDispositionDontWaitForAcks, ImmediateInputRouterTest.EventsIgnoringAckDispositionStayInOrder Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233946

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address jdduke's comments, and rebase. #

Total comments: 5

Patch Set 3 : Address jdduke's comments. #

Patch Set 4 : Add test for single synchronous ack. #

Total comments: 8

Patch Set 5 : Address jdduke's comments. #

Total comments: 6

Patch Set 6 : jdduke comments. #

Messages

Total messages: 22 (0 generated)
tdresser
joi: Can you take a look at content/{port,public}? jdduke: Can you take a look at ...
7 years, 1 month ago (2013-10-25 19:12:13 UTC) #1
tdresser
7 years, 1 month ago (2013-10-25 19:13:00 UTC) #2
jdduke (slow)
https://codereview.chromium.org/44983003/diff/1/content/browser/renderer_host/input/gesture_event_filter.cc File content/browser/renderer_host/input/gesture_event_filter.cc (right): https://codereview.chromium.org/44983003/diff/1/content/browser/renderer_host/input/gesture_event_filter.cc#newcode201 content/browser/renderer_host/input/gesture_event_filter.cc:201: if (coalesced_gesture_events_.size() > 1) { This whole section is ...
7 years, 1 month ago (2013-10-25 20:37:11 UTC) #3
jdduke (slow)
https://codereview.chromium.org/44983003/diff/1/content/browser/renderer_host/input/immediate_input_router.cc File content/browser/renderer_host/input/immediate_input_router.cc (right): https://codereview.chromium.org/44983003/diff/1/content/browser/renderer_host/input/immediate_input_router.cc#newcode348 content/browser/renderer_host/input/immediate_input_router.cc:348: CLIENT); Please create a new enum entry for this ...
7 years, 1 month ago (2013-10-25 20:53:34 UTC) #4
jdduke (slow)
https://codereview.chromium.org/44983003/diff/1/content/common/input/web_input_event_traits.cc File content/common/input/web_input_event_traits.cc (right): https://codereview.chromium.org/44983003/diff/1/content/common/input/web_input_event_traits.cc#newcode290 content/common/input/web_input_event_traits.cc:290: type == WebInputEvent::GestureTapCancel || If adding GestureTap + GestureTapCancel ...
7 years, 1 month ago (2013-10-25 21:00:37 UTC) #5
Jói
//content/port and //content/public LGTM.
7 years, 1 month ago (2013-10-28 10:05:34 UTC) #6
tdresser
I was just discussing this patch with rbyers@, and he was mentioning that it might ...
7 years, 1 month ago (2013-10-29 14:11:43 UTC) #7
jdduke (slow)
On 2013/10/29 14:11:43, tdresser wrote: > I was just discussing this patch with rbyers@, and ...
7 years, 1 month ago (2013-10-29 14:58:50 UTC) #8
Rick Byers
On 2013/10/29 14:58:50, jdduke wrote: > On 2013/10/29 14:11:43, tdresser wrote: > > I was ...
7 years, 1 month ago (2013-10-29 15:19:00 UTC) #9
tdresser
https://codereview.chromium.org/44983003/diff/1/content/browser/renderer_host/input/immediate_input_router.cc File content/browser/renderer_host/input/immediate_input_router.cc (right): https://codereview.chromium.org/44983003/diff/1/content/browser/renderer_host/input/immediate_input_router.cc#newcode348 content/browser/renderer_host/input/immediate_input_router.cc:348: CLIENT); On 2013/10/25 20:53:34, jdduke wrote: > Please create ...
7 years, 1 month ago (2013-11-04 15:57:30 UTC) #10
jdduke (slow)
https://codereview.chromium.org/44983003/diff/210001/content/browser/renderer_host/input/gesture_event_filter_unittest.cc File content/browser/renderer_host/input/gesture_event_filter_unittest.cc (left): https://codereview.chromium.org/44983003/diff/210001/content/browser/renderer_host/input/gesture_event_filter_unittest.cc#oldcode729 content/browser/renderer_host/input/gesture_event_filter_unittest.cc:729: // wait for ACKs. I'd feel a bit more ...
7 years, 1 month ago (2013-11-05 05:57:17 UTC) #11
tdresser
https://codereview.chromium.org/44983003/diff/210001/content/browser/renderer_host/input/gesture_event_filter_unittest.cc File content/browser/renderer_host/input/gesture_event_filter_unittest.cc (left): https://codereview.chromium.org/44983003/diff/210001/content/browser/renderer_host/input/gesture_event_filter_unittest.cc#oldcode729 content/browser/renderer_host/input/gesture_event_filter_unittest.cc:729: // wait for ACKs. On 2013/11/05 05:57:18, jdduke wrote: ...
7 years, 1 month ago (2013-11-05 18:57:02 UTC) #12
jdduke (slow)
https://codereview.chromium.org/44983003/diff/210001/content/browser/renderer_host/input/gesture_event_filter_unittest.cc File content/browser/renderer_host/input/gesture_event_filter_unittest.cc (left): https://codereview.chromium.org/44983003/diff/210001/content/browser/renderer_host/input/gesture_event_filter_unittest.cc#oldcode729 content/browser/renderer_host/input/gesture_event_filter_unittest.cc:729: // wait for ACKs. On 2013/11/05 18:57:02, tdresser wrote: ...
7 years, 1 month ago (2013-11-05 19:12:18 UTC) #13
tdresser
Added a test for a single event with a synchronous ack.
7 years, 1 month ago (2013-11-05 20:40:12 UTC) #14
tdresser
On 2013/11/05 20:40:12, tdresser wrote: > Added a test for a single event with a ...
7 years, 1 month ago (2013-11-07 13:03:30 UTC) #15
jdduke (slow)
https://codereview.chromium.org/44983003/diff/510002/content/browser/renderer_host/input/gesture_event_filter_unittest.cc File content/browser/renderer_host/input/gesture_event_filter_unittest.cc (right): https://codereview.chromium.org/44983003/diff/510002/content/browser/renderer_host/input/gesture_event_filter_unittest.cc#newcode55 content/browser/renderer_host/input/gesture_event_filter_unittest.cc:55: SendInputEventACK(event.event.type, *ack_result); This is a bit odd, why would ...
7 years, 1 month ago (2013-11-07 15:57:42 UTC) #16
tdresser
https://codereview.chromium.org/44983003/diff/510002/content/browser/renderer_host/input/gesture_event_filter_unittest.cc File content/browser/renderer_host/input/gesture_event_filter_unittest.cc (right): https://codereview.chromium.org/44983003/diff/510002/content/browser/renderer_host/input/gesture_event_filter_unittest.cc#newcode55 content/browser/renderer_host/input/gesture_event_filter_unittest.cc:55: SendInputEventACK(event.event.type, *ack_result); On 2013/11/07 15:57:42, jdduke wrote: > > ...
7 years, 1 month ago (2013-11-07 22:12:00 UTC) #17
jdduke (slow)
https://codereview.chromium.org/44983003/diff/710001/content/browser/renderer_host/input/gesture_event_filter.h File content/browser/renderer_host/input/gesture_event_filter.h (right): https://codereview.chromium.org/44983003/diff/710001/content/browser/renderer_host/input/gesture_event_filter.h#newcode95 content/browser/renderer_host/input/gesture_event_filter.h:95: friend class ImmediateInputRouterTest; I think we can test sync ...
7 years, 1 month ago (2013-11-07 23:12:52 UTC) #18
jdduke (slow)
lgtm with the nits from above. Could you also edit the description to wrap at ...
7 years, 1 month ago (2013-11-07 23:52:31 UTC) #19
tdresser
Description wrapped at 80 chars. https://codereview.chromium.org/44983003/diff/710001/content/browser/renderer_host/input/gesture_event_filter.h File content/browser/renderer_host/input/gesture_event_filter.h (right): https://codereview.chromium.org/44983003/diff/710001/content/browser/renderer_host/input/gesture_event_filter.h#newcode95 content/browser/renderer_host/input/gesture_event_filter.h:95: friend class ImmediateInputRouterTest; On ...
7 years, 1 month ago (2013-11-08 16:20:34 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/44983003/980001
7 years, 1 month ago (2013-11-08 16:22:08 UTC) #21
commit-bot: I haz the power
7 years, 1 month ago (2013-11-08 18:43:17 UTC) #22
Message was sent while issue was closed.
Change committed as 233946

Powered by Google App Engine
This is Rietveld 408576698