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

Issue 753743006: Clean up TouchDispositionGestureFilter unit tests. (Closed)

Created:
6 years ago by tdresser
Modified:
6 years ago
Reviewers:
jdduke (slow)
CC:
chromium-reviews, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Clean up TouchDispositionGestureFilter unit tests. Previously, it was difficult to follow precisely where the location of a gesture was coming from. This patch clearly separates the location of synthesized gestures from non-synthesized gestures, and removes the location from events for which location was unused, making the tests easier to read. Committed: https://crrev.com/56321972c69d6b2cfa468d5863d79a22b8369a77 Cr-Commit-Position: refs/heads/master@{#306399}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address Jared's comments. #

Total comments: 2

Patch Set 3 : Address Jared's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -289 lines) Patch
M ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc View 1 2 37 chunks +199 lines, -289 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
tdresser
I started doing this as part of writing the eager GR tests, but split it ...
6 years ago (2014-11-26 14:08:55 UTC) #2
jdduke (slow)
https://codereview.chromium.org/753743006/diff/1/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/753743006/diff/1/ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc#newcode306 ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc:306: PressTouchPoint(); Yeah, this is definitely an improvement. I wonder ...
6 years ago (2014-11-26 15:31:33 UTC) #3
tdresser
https://codereview.chromium.org/753743006/diff/1/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/753743006/diff/1/ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc#newcode306 ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc:306: PressTouchPoint(); On 2014/11/26 15:31:33, jdduke wrote: > Yeah, this ...
6 years ago (2014-11-27 16:39:40 UTC) #4
tdresser
On 2014/11/27 16:39:40, tdresser wrote: > https://codereview.chromium.org/753743006/diff/1/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/753743006/diff/1/ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc#newcode306 ...
6 years ago (2014-12-02 15:41:28 UTC) #5
jdduke (slow)
Sorry for the delay, lgtm. https://codereview.chromium.org/753743006/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/753743006/diff/20001/ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc#newcode74 ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc:74: GestureList Gestures() { return ...
6 years ago (2014-12-02 16:00:05 UTC) #6
tdresser
https://codereview.chromium.org/753743006/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/753743006/diff/20001/ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc#newcode74 ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc:74: GestureList Gestures() { return GestureList(0); } On 2014/12/02 16:00:05, ...
6 years ago (2014-12-02 16:09:20 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/753743006/40001
6 years ago (2014-12-02 16:10:30 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-12-02 16:49:56 UTC) #10
commit-bot: I haz the power
6 years ago (2014-12-02 16:50:49 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/56321972c69d6b2cfa468d5863d79a22b8369a77
Cr-Commit-Position: refs/heads/master@{#306399}

Powered by Google App Engine
This is Rietveld 408576698