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

Issue 25268002: Make tapDown async. (Closed)

Created:
7 years, 2 months ago by tdresser
Modified:
7 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, sadrul, WRONG-USE-chromium, varunjain, mohsen, jdduke (slow)
Visibility:
Public.

Description

Make tapDown async. The GestureEventFilter now ignores ACKs for GestureTapDown events. Whenever a GestureTapDown event reaches the front of the queue, it is immediately fired and removed from the queue. BUG=288078 TEST=ImmediateInputRouterTest.GestureTapDownIsAsynch, ImmediateInputRouterTest.GestureTapDownIsInOrder Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226490

Patch Set 1 #

Total comments: 16

Patch Set 2 : Invert Condition (nit) #

Patch Set 3 : Address jdduke's comments. #

Total comments: 4

Patch Set 4 : Address jdduke's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -21 lines) Patch
M content/browser/renderer_host/input/gesture_event_filter.h View 1 2 3 4 chunks +13 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/gesture_event_filter.cc View 1 2 3 chunks +28 lines, -1 line 0 comments Download
M content/browser/renderer_host/input/immediate_input_router.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/input/immediate_input_router.cc View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/immediate_input_router_unittest.cc View 1 2 6 chunks +116 lines, -13 lines 0 comments Download
M content/browser/renderer_host/overscroll_controller.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/web_contents/touch_editable_impl_aura_browsertest.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
tdresser
7 years, 2 months ago (2013-09-30 15:10:21 UTC) #1
jochen (gone - plz use gerrit)
https://codereview.chromium.org/25268002/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/25268002/diff/1/content/browser/renderer_host/input/gesture_event_filter.cc#newcode453 content/browser/renderer_host/input/gesture_event_filter.cc:453: if (GestureEventFilter::IsGestureEventTypeAsync( nit. can you invert the condition so ...
7 years, 2 months ago (2013-09-30 15:19:03 UTC) #2
tdresser
https://codereview.chromium.org/25268002/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/25268002/diff/1/content/browser/renderer_host/input/gesture_event_filter.cc#newcode453 content/browser/renderer_host/input/gesture_event_filter.cc:453: if (GestureEventFilter::IsGestureEventTypeAsync( On 2013/09/30 15:19:03, jochen wrote: > nit. ...
7 years, 2 months ago (2013-09-30 15:34:47 UTC) #3
jdduke (slow)
I think this will be a nice addition, though I am a little concerned if ...
7 years, 2 months ago (2013-09-30 15:42:55 UTC) #4
tdresser
https://codereview.chromium.org/25268002/diff/1/content/browser/renderer_host/input/gesture_event_filter.h File content/browser/renderer_host/input/gesture_event_filter.h (right): https://codereview.chromium.org/25268002/diff/1/content/browser/renderer_host/input/gesture_event_filter.h#newcode80 content/browser/renderer_host/input/gesture_event_filter.h:80: static bool IsGestureEventTypeAsync(int type); On 2013/09/30 15:42:56, jdduke wrote: ...
7 years, 2 months ago (2013-09-30 18:05:02 UTC) #5
tdresser
Rob, could you take a quick look at this to ensure the GestureEventFilter changes make ...
7 years, 2 months ago (2013-10-01 15:31:34 UTC) #6
rjkroege
lgtm
7 years, 2 months ago (2013-10-01 16:50:52 UTC) #7
jdduke (slow)
lgtm with a couple nits. https://codereview.chromium.org/25268002/diff/18001/content/browser/renderer_host/input/gesture_event_filter.h File content/browser/renderer_host/input/gesture_event_filter.h (right): https://codereview.chromium.org/25268002/diff/18001/content/browser/renderer_host/input/gesture_event_filter.h#newcode151 content/browser/renderer_host/input/gesture_event_filter.h:151: void SendAsyncEvents(); Could you ...
7 years, 2 months ago (2013-10-01 17:16:14 UTC) #8
tdresser
https://codereview.chromium.org/25268002/diff/18001/content/browser/renderer_host/input/gesture_event_filter.h File content/browser/renderer_host/input/gesture_event_filter.h (right): https://codereview.chromium.org/25268002/diff/18001/content/browser/renderer_host/input/gesture_event_filter.h#newcode151 content/browser/renderer_host/input/gesture_event_filter.h:151: void SendAsyncEvents(); On 2013/10/01 17:16:15, jdduke wrote: > Could ...
7 years, 2 months ago (2013-10-01 17:54:36 UTC) #9
jochen (gone - plz use gerrit)
lgtm
7 years, 2 months ago (2013-10-02 13:27:14 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/25268002/34001
7 years, 2 months ago (2013-10-02 13:29:02 UTC) #11
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=204587
7 years, 2 months ago (2013-10-02 15:30:03 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/25268002/34001
7 years, 2 months ago (2013-10-02 15:32:45 UTC) #13
commit-bot: I haz the power
7 years, 2 months ago (2013-10-02 17:26:32 UTC) #14
Message was sent while issue was closed.
Change committed as 226490

Powered by Google App Engine
This is Rietveld 408576698