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

Issue 277373002: Pass location with gestures created in TouchDispositionGestureFilter (Closed)

Created:
6 years, 7 months ago by tdresser
Modified:
6 years, 7 months ago
Reviewers:
jdduke (slow)
CC:
chromium-reviews, tdresser+watch_chromium.org
Visibility:
Public.

Description

Pass location with gestures created in TouchDispositionGestureFilter Aura uses the locations of some ending events which weren't being assigned locations in the TDGF. To use the unified GR on Aura, we need these locations to be assigned correctly. We use the location of the first pointer down when the gesture was created a the location of the gestures created by the TDGF. BUG=371875 TEST=TouchDispositionGestureFilterTest.* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269893

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address jdduke's comments. #

Total comments: 8

Patch Set 3 : Address jdduke's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -48 lines) Patch
M ui/events/gesture_detection/gesture_event_data_packet.h View 1 chunk +5 lines, -1 line 0 comments Download
M ui/events/gesture_detection/gesture_event_data_packet.cc View 1 4 chunks +13 lines, -4 lines 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter.h View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter.cc View 1 2 10 chunks +47 lines, -35 lines 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc View 1 2 14 chunks +26 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
tdresser
jdduke@, PTAL.
6 years, 7 months ago (2014-05-12 16:08:27 UTC) #1
tdresser
jdduke@, PTAL.
6 years, 7 months ago (2014-05-12 16:43:17 UTC) #2
jdduke (slow)
https://codereview.chromium.org/277373002/diff/1/ui/events/gesture_detection/gesture_event_data_packet.cc File ui/events/gesture_detection/gesture_event_data_packet.cc (right): https://codereview.chromium.org/277373002/diff/1/ui/events/gesture_detection/gesture_event_data_packet.cc#newcode84 ui/events/gesture_detection/gesture_event_data_packet.cc:84: GestureEventDataPacket packet(gesture.time, TOUCH_TIMEOUT, gfx::PointF()); gfx::PointF(gesture.x, gesture.y)? https://codereview.chromium.org/277373002/diff/1/ui/events/gesture_detection/touch_disposition_gesture_filter.cc File ui/events/gesture_detection/touch_disposition_gesture_filter.cc ...
6 years, 7 months ago (2014-05-12 17:02:34 UTC) #3
tdresser
https://codereview.chromium.org/277373002/diff/1/ui/events/gesture_detection/gesture_event_data_packet.cc File ui/events/gesture_detection/gesture_event_data_packet.cc (right): https://codereview.chromium.org/277373002/diff/1/ui/events/gesture_detection/gesture_event_data_packet.cc#newcode84 ui/events/gesture_detection/gesture_event_data_packet.cc:84: GestureEventDataPacket packet(gesture.time, TOUCH_TIMEOUT, gfx::PointF()); On 2014/05/12 17:02:34, jdduke wrote: ...
6 years, 7 months ago (2014-05-12 18:09:30 UTC) #4
jdduke (slow)
lgtm with a couple nits. https://codereview.chromium.org/277373002/diff/20001/ui/events/gesture_detection/touch_disposition_gesture_filter.cc File ui/events/gesture_detection/touch_disposition_gesture_filter.cc (right): https://codereview.chromium.org/277373002/diff/20001/ui/events/gesture_detection/touch_disposition_gesture_filter.cc#newcode21 ui/events/gesture_detection/touch_disposition_gesture_filter.cc:21: float x, Nit: Let's ...
6 years, 7 months ago (2014-05-12 18:14:44 UTC) #5
jdduke (slow)
https://codereview.chromium.org/277373002/diff/20001/ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc File ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc (right): https://codereview.chromium.org/277373002/diff/20001/ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc#newcode35 ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc:35: most_recent_gesture_location_ = gfx::PointF(event.x, event.y); Super nit: Ideally we'd have ...
6 years, 7 months ago (2014-05-12 18:16:31 UTC) #6
tdresser
https://codereview.chromium.org/277373002/diff/20001/ui/events/gesture_detection/touch_disposition_gesture_filter.cc File ui/events/gesture_detection/touch_disposition_gesture_filter.cc (right): https://codereview.chromium.org/277373002/diff/20001/ui/events/gesture_detection/touch_disposition_gesture_filter.cc#newcode21 ui/events/gesture_detection/touch_disposition_gesture_filter.cc:21: float x, On 2014/05/12 18:14:45, jdduke wrote: > Nit: ...
6 years, 7 months ago (2014-05-12 18:28:10 UTC) #7
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 7 months ago (2014-05-12 18:28:38 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/277373002/40001
6 years, 7 months ago (2014-05-12 18:28:54 UTC) #9
commit-bot: I haz the power
6 years, 7 months ago (2014-05-12 22:19:47 UTC) #10
Message was sent while issue was closed.
Change committed as 269893

Powered by Google App Engine
This is Rietveld 408576698