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

Issue 2175803002: The helper functions for slop region check and subtraction are modified. (Closed)

Created:
4 years, 5 months ago by sahel
Modified:
4 years, 4 months ago
Reviewers:
tdresser, sky
CC:
chromium-reviews, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

The helper functions for slop region check and subtraction are modified. The unit test crashes in the old version and passes in the new patch. BUG=629278 TEST=GestureProviderTest.ScrollStartWithSecondaryPointer Committed: https://crrev.com/4479b653205f98f226e7f5d4cf1c6a78897ca97f Cr-Commit-Position: refs/heads/master@{#407808}

Patch Set 1 #

Total comments: 18

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -42 lines) Patch
M ui/events/gesture_detection/gesture_detector.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/gesture_detector.cc View 1 2 4 chunks +40 lines, -19 lines 0 comments Download
M ui/events/gesture_detection/gesture_provider.cc View 1 2 1 chunk +17 lines, -18 lines 0 comments Download
M ui/events/gesture_detection/gesture_provider_unittest.cc View 1 1 chunk +33 lines, -0 lines 0 comments Download
M ui/events/test/motion_event_test_utils.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/test/motion_event_test_utils.cc View 1 2 chunks +26 lines, -5 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
sahel
brettw@chromium.org: Please review changes in tdresser@chromium.org: Please review changes in
4 years, 5 months ago (2016-07-22 15:33:19 UTC) #2
tdresser
https://codereview.chromium.org/2175803002/diff/1/ui/events/gesture_detection/gesture_detector.cc File ui/events/gesture_detection/gesture_detector.cc (right): https://codereview.chromium.org/2175803002/diff/1/ui/events/gesture_detection/gesture_detector.cc#newcode548 ui/events/gesture_detection/gesture_detector.cc:548: const int pid = ev.GetPointerId(i); Throughout, let's use pointer_id ...
4 years, 5 months ago (2016-07-22 15:57:45 UTC) #3
sahel
https://codereview.chromium.org/2175803002/diff/1/ui/events/gesture_detection/gesture_detector.cc File ui/events/gesture_detection/gesture_detector.cc (right): https://codereview.chromium.org/2175803002/diff/1/ui/events/gesture_detection/gesture_detector.cc#newcode548 ui/events/gesture_detection/gesture_detector.cc:548: const int pid = ev.GetPointerId(i); On 2016/07/22 15:57:45, tdresser ...
4 years, 5 months ago (2016-07-22 19:46:42 UTC) #5
tdresser
LGTM! https://codereview.chromium.org/2175803002/diff/40001/ui/events/gesture_detection/gesture_detector.h File ui/events/gesture_detection/gesture_detector.h (right): https://codereview.chromium.org/2175803002/diff/40001/ui/events/gesture_detection/gesture_detector.h#newcode104 ui/events/gesture_detection/gesture_detector.h:104: // secondary_pointer_down_event_. State that this returns nullptr if ...
4 years, 5 months ago (2016-07-22 19:51:28 UTC) #6
tdresser
https://codereview.chromium.org/2175803002/diff/40001/ui/events/gesture_detection/gesture_detector.cc File ui/events/gesture_detection/gesture_detector.cc (right): https://codereview.chromium.org/2175803002/diff/40001/ui/events/gesture_detection/gesture_detector.cc#newcode588 ui/events/gesture_detection/gesture_detector.cc:588: int GestureDetector::getPointerIndex(const MotionEvent& event, This is just MotionEvent::FindPointerIndexOfId(int id). ...
4 years, 5 months ago (2016-07-25 12:35:08 UTC) #7
sahel
https://codereview.chromium.org/2175803002/diff/40001/ui/events/gesture_detection/gesture_detector.h File ui/events/gesture_detection/gesture_detector.h (right): https://codereview.chromium.org/2175803002/diff/40001/ui/events/gesture_detection/gesture_detector.h#newcode104 ui/events/gesture_detection/gesture_detector.h:104: // secondary_pointer_down_event_. On 2016/07/22 19:51:28, tdresser wrote: > State ...
4 years, 5 months ago (2016-07-25 15:16:33 UTC) #8
sahel
sky@chromium.org: Please review changes in ui/events/test/motion_event_test_utils.h ui/events/test/motion_event_test_utils.cc
4 years, 5 months ago (2016-07-25 21:18:56 UTC) #12
sky
LGTM
4 years, 5 months ago (2016-07-25 23:48:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2175803002/60001
4 years, 4 months ago (2016-07-26 15:31:39 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 4 months ago (2016-07-26 15:35:58 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-07-26 15:37:29 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4479b653205f98f226e7f5d4cf1c6a78897ca97f
Cr-Commit-Position: refs/heads/master@{#407808}

Powered by Google App Engine
This is Rietveld 408576698