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

Issue 182383007: Make the ContentGestureProvider a ui::FilteredGestureProvider (Closed)

Created:
6 years, 9 months ago by jdduke (slow)
Modified:
6 years, 9 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

Make the ContentGestureProvider a ui::FilteredGestureProvider Move the ContentGestureProvider to ui/, allowing the filtering and gesture batching code to be used outside of content/. Also eliminate TouchDispositionGestureFilter's dependency on a custom ack result type, instead simply using a bool to indicate whether or not the ack'ed touch was consumed. BUG=348588 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255190

Patch Set 1 #

Patch Set 2 : Similarity fix #

Patch Set 3 : Cleanup #

Patch Set 4 : Test fix #

Total comments: 12

Patch Set 5 : Code review #

Patch Set 6 : Fix race with touch handler #

Patch Set 7 : Rebase #

Patch Set 8 : Lower similarity #

Unified diffs Side-by-side diffs Delta from patch set Stats (+432 lines, -593 lines) Patch
M content/browser/android/content_view_core_impl.h View 1 2 3 4 5 6 6 chunks +7 lines, -5 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 4 5 6 21 chunks +43 lines, -33 lines 0 comments Download
D content/browser/renderer_host/input/content_gesture_provider.h View 1 2 3 4 5 6 1 chunk +0 lines, -73 lines 0 comments Download
D content/browser/renderer_host/input/content_gesture_provider.cc View 1 2 3 4 5 6 1 chunk +0 lines, -217 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue.cc View 1 2 3 4 5 6 1 chunk +11 lines, -3 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue_unittest.cc View 1 2 3 1 chunk +6 lines, -4 lines 0 comments Download
M content/browser/renderer_host/input/web_input_event_util.h View 1 2 3 4 5 6 2 chunks +11 lines, -3 lines 0 comments Download
M content/browser/renderer_host/input/web_input_event_util.cc View 1 2 3 4 5 6 2 chunks +99 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M ui/events/events.gyp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
A + ui/events/gesture_detection/filtered_gesture_provider.h View 1 2 3 4 5 6 7 3 chunks +21 lines, -32 lines 0 comments Download
A ui/events/gesture_detection/filtered_gesture_provider.cc View 1 2 3 4 5 6 1 chunk +80 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter.h View 1 2 3 4 5 6 3 chunks +24 lines, -49 lines 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter.cc View 1 2 3 4 5 6 7 7 chunks +37 lines, -76 lines 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc View 1 2 3 4 5 6 33 chunks +91 lines, -96 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jdduke (slow)
PTAL. I'll need to rebase on your changes, but it shouldn't be too bad... I ...
6 years, 9 months ago (2014-03-03 18:52:55 UTC) #1
tdresser
https://codereview.chromium.org/182383007/diff/60001/content/browser/renderer_host/input/web_input_event_util.cc File content/browser/renderer_host/input/web_input_event_util.cc (right): https://codereview.chromium.org/182383007/diff/60001/content/browser/renderer_host/input/web_input_event_util.cc#newcode148 content/browser/renderer_host/input/web_input_event_util.cc:148: WebGestureEvent CreateWebGestureEventFromGestureEventData( The type conversion could be factored out ...
6 years, 9 months ago (2014-03-03 19:44:32 UTC) #2
jdduke (slow)
https://codereview.chromium.org/182383007/diff/60001/content/browser/renderer_host/input/web_input_event_util.cc File content/browser/renderer_host/input/web_input_event_util.cc (right): https://codereview.chromium.org/182383007/diff/60001/content/browser/renderer_host/input/web_input_event_util.cc#newcode148 content/browser/renderer_host/input/web_input_event_util.cc:148: WebGestureEvent CreateWebGestureEventFromGestureEventData( On 2014/03/03 19:44:32, tdresser wrote: > The ...
6 years, 9 months ago (2014-03-03 22:33:17 UTC) #3
tdresser
https://codereview.chromium.org/182383007/diff/60001/content/browser/renderer_host/input/web_input_event_util.cc File content/browser/renderer_host/input/web_input_event_util.cc (right): https://codereview.chromium.org/182383007/diff/60001/content/browser/renderer_host/input/web_input_event_util.cc#newcode148 content/browser/renderer_host/input/web_input_event_util.cc:148: WebGestureEvent CreateWebGestureEventFromGestureEventData( On 2014/03/03 22:33:17, jdduke wrote: > On ...
6 years, 9 months ago (2014-03-04 13:48:35 UTC) #4
jdduke (slow)
https://codereview.chromium.org/182383007/diff/60001/content/browser/renderer_host/input/web_input_event_util.cc File content/browser/renderer_host/input/web_input_event_util.cc (right): https://codereview.chromium.org/182383007/diff/60001/content/browser/renderer_host/input/web_input_event_util.cc#newcode148 content/browser/renderer_host/input/web_input_event_util.cc:148: WebGestureEvent CreateWebGestureEventFromGestureEventData( On 2014/03/04 13:48:35, tdresser wrote: > On ...
6 years, 9 months ago (2014-03-04 15:50:13 UTC) #5
tdresser
https://codereview.chromium.org/182383007/diff/60001/content/browser/renderer_host/input/web_input_event_util.cc File content/browser/renderer_host/input/web_input_event_util.cc (right): https://codereview.chromium.org/182383007/diff/60001/content/browser/renderer_host/input/web_input_event_util.cc#newcode148 content/browser/renderer_host/input/web_input_event_util.cc:148: WebGestureEvent CreateWebGestureEventFromGestureEventData( On 2014/03/04 15:50:14, jdduke wrote: > On ...
6 years, 9 months ago (2014-03-04 16:32:14 UTC) #6
tdresser
On 2014/03/04 16:32:14, tdresser wrote: > https://codereview.chromium.org/182383007/diff/60001/content/browser/renderer_host/input/web_input_event_util.cc > File content/browser/renderer_host/input/web_input_event_util.cc (right): > > https://codereview.chromium.org/182383007/diff/60001/content/browser/renderer_host/input/web_input_event_util.cc#newcode148 > ...
6 years, 9 months ago (2014-03-04 16:50:17 UTC) #7
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 9 months ago (2014-03-05 19:35:28 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/182383007/200001
6 years, 9 months ago (2014-03-05 19:36:22 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/182383007/200001
6 years, 9 months ago (2014-03-05 23:56:08 UTC) #10
commit-bot: I haz the power
6 years, 9 months ago (2014-03-06 01:07:38 UTC) #11
Message was sent while issue was closed.
Change committed as 255190

Powered by Google App Engine
This is Rietveld 408576698