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

Issue 223673006: Support GestureBegin and GestureEnd in ui::GestureProvider (Closed)

Created:
6 years, 8 months ago by tdresser
Modified:
6 years, 8 months ago
Reviewers:
jdduke (slow)
CC:
chromium-reviews, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Support GestureBegin and GestureEnd in ui::GestureProvider Only enabled for aura, so this will be unused until the unified GR lands. BUG=357272 TEST=TouchDispositionGestureFilterTest.BasicGestures*, a bunch of tests in GestureProviderTest. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262132

Patch Set 1 #

Total comments: 12

Patch Set 2 : Address jdduke's comments. #

Total comments: 20

Patch Set 3 : Address jdduke's comments. #

Total comments: 6

Patch Set 4 : Address jdduke nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -31 lines) Patch
M content/browser/renderer_host/input/web_input_event_util.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/gesture_config_helper_android.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/gesture_detection/gesture_config_helper_aura.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/gesture_detection/gesture_provider.h View 1 2 3 3 chunks +15 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/gesture_provider.cc View 1 2 3 5 chunks +63 lines, -29 lines 0 comments Download
M ui/events/gesture_detection/gesture_provider_unittest.cc View 1 2 3 2 chunks +71 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc View 1 2 3 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
tdresser
6 years, 8 months ago (2014-04-03 18:10:26 UTC) #1
jdduke (slow)
https://codereview.chromium.org/223673006/diff/1/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/223673006/diff/1/content/browser/android/content_view_core_impl.cc#newcode374 content/browser/android/content_view_core_impl.cc:374: if (event.type != WebInputEvent::Undefined) Shouldn't this be a DCHECK? ...
6 years, 8 months ago (2014-04-03 20:17:16 UTC) #2
tdresser
https://codereview.chromium.org/223673006/diff/1/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/223673006/diff/1/content/browser/android/content_view_core_impl.cc#newcode374 content/browser/android/content_view_core_impl.cc:374: if (event.type != WebInputEvent::Undefined) On 2014/04/03 20:17:16, jdduke wrote: ...
6 years, 8 months ago (2014-04-03 21:14:40 UTC) #3
jdduke (slow)
https://codereview.chromium.org/223673006/diff/20001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/223673006/diff/20001/content/browser/android/content_view_core_impl.cc#newcode374 content/browser/android/content_view_core_impl.cc:374: DCHECK_NE(event.type, WebInputEvent::Undefined) Hmm, I think your change to CreateWebGestureEventFromGestureEventData ...
6 years, 8 months ago (2014-04-03 22:03:28 UTC) #4
tdresser
Thanks for the feedback, that's a significant improvement. https://codereview.chromium.org/223673006/diff/20001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/223673006/diff/20001/content/browser/android/content_view_core_impl.cc#newcode374 content/browser/android/content_view_core_impl.cc:374: DCHECK_NE(event.type, ...
6 years, 8 months ago (2014-04-04 16:39:31 UTC) #5
jdduke (slow)
lgtm with a couple nits https://codereview.chromium.org/223673006/diff/40001/ui/events/gesture_detection/gesture_provider.cc File ui/events/gesture_detection/gesture_provider.cc (right): https://codereview.chromium.org/223673006/diff/40001/ui/events/gesture_detection/gesture_provider.cc#newcode773 ui/events/gesture_detection/gesture_provider.cc:773: // We shouldn't necessarily ...
6 years, 8 months ago (2014-04-04 19:08:36 UTC) #6
tdresser
https://codereview.chromium.org/223673006/diff/40001/ui/events/gesture_detection/gesture_provider.cc File ui/events/gesture_detection/gesture_provider.cc (right): https://codereview.chromium.org/223673006/diff/40001/ui/events/gesture_detection/gesture_provider.cc#newcode773 ui/events/gesture_detection/gesture_provider.cc:773: // We shouldn't necessarily cancel a tap on ACTION_UP, ...
6 years, 8 months ago (2014-04-07 13:42:55 UTC) #7
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 8 months ago (2014-04-07 13:42:59 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/223673006/60001
6 years, 8 months ago (2014-04-07 13:43:08 UTC) #9
commit-bot: I haz the power
6 years, 8 months ago (2014-04-07 15:35:58 UTC) #10
Message was sent while issue was closed.
Change committed as 262132

Powered by Google App Engine
This is Rietveld 408576698