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

Issue 538653002: Changing the bounding box for show press and tap gesture (Closed)

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

Description

changing bounding box for show press and tap gesture The bounding boxes of show press and tap gesture are the same right now, which are based on the touch start location and the largest radius seen before the show press gesture is sent. BUG=403747 Committed: https://crrev.com/647665c49d055d6a4645f7c842b35f2d0c20a025 Cr-Commit-Position: refs/heads/master@{#293807}

Patch Set 1 : Delete some unused lines #

Total comments: 16

Patch Set 2 : Keeping track of max diameter in GestureListenerImpl #

Total comments: 11

Patch Set 3 : Made changes based on comments #

Total comments: 4

Patch Set 4 : Correct the comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+245 lines, -120 lines) Patch
M ui/events/gesture_detection/gesture_provider.cc View 1 2 3 15 chunks +148 lines, -108 lines 0 comments Download
M ui/events/gesture_detection/gesture_provider_unittest.cc View 1 3 chunks +53 lines, -2 lines 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc View 1 5 chunks +44 lines, -10 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
lanwei
Please look at the second patch, thanks.
6 years, 3 months ago (2014-09-03 21:11:49 UTC) #2
tdresser
Jared, feel free to delay doing a full review until I've taken a closer look ...
6 years, 3 months ago (2014-09-04 13:54:01 UTC) #4
jdduke (slow)
Haven't looked at this too closely, but one initial thought. https://codereview.chromium.org/538653002/diff/20001/ui/events/gesture_detection/gesture_detector.h File ui/events/gesture_detection/gesture_detector.h (right): https://codereview.chromium.org/538653002/diff/20001/ui/events/gesture_detection/gesture_detector.h#newcode76 ...
6 years, 3 months ago (2014-09-04 15:01:25 UTC) #5
lanwei
Keeping track of max diameter in GestureListenerImpl https://codereview.chromium.org/538653002/diff/20001/ui/events/gesture_detection/gesture_detector.h File ui/events/gesture_detection/gesture_detector.h (right): https://codereview.chromium.org/538653002/diff/20001/ui/events/gesture_detection/gesture_detector.h#newcode206 ui/events/gesture_detection/gesture_detector.h:206: // sent. ...
6 years, 3 months ago (2014-09-05 20:40:37 UTC) #11
jdduke (slow)
Thanks! This looks good, I'll let tdresser@ do final review. https://codereview.chromium.org/538653002/diff/120001/ui/events/gesture_detection/gesture_provider.cc File ui/events/gesture_detection/gesture_provider.cc (right): https://codereview.chromium.org/538653002/diff/120001/ui/events/gesture_detection/gesture_provider.cc#newcode14 ...
6 years, 3 months ago (2014-09-05 20:55:56 UTC) #12
jdduke (slow)
Maybe update the patch description so that the body comes before BUG=? I've also found ...
6 years, 3 months ago (2014-09-05 21:05:14 UTC) #13
tdresser
LGTM (once you've addressed Jared's comments) https://codereview.chromium.org/538653002/diff/120001/ui/events/gesture_detection/gesture_provider.cc File ui/events/gesture_detection/gesture_provider.cc (right): https://codereview.chromium.org/538653002/diff/120001/ui/events/gesture_detection/gesture_provider.cc#newcode562 ui/events/gesture_detection/gesture_provider.cc:562: if (type == ...
6 years, 3 months ago (2014-09-08 13:24:37 UTC) #14
lanwei
On 2014/09/05 21:05:14, jdduke wrote: > Maybe update the patch description so that the body ...
6 years, 3 months ago (2014-09-08 15:43:59 UTC) #15
lanwei
https://codereview.chromium.org/538653002/diff/120001/ui/events/gesture_detection/gesture_provider.cc File ui/events/gesture_detection/gesture_provider.cc (right): https://codereview.chromium.org/538653002/diff/120001/ui/events/gesture_detection/gesture_provider.cc#newcode14 ui/events/gesture_detection/gesture_provider.cc:14: #include "ui/gfx/point.h" On 2014/09/05 20:55:56, jdduke wrote: > Hmm, ...
6 years, 3 months ago (2014-09-08 15:46:38 UTC) #16
jdduke (slow)
lgtm, thanks.
6 years, 3 months ago (2014-09-08 15:50:52 UTC) #17
tdresser
https://codereview.chromium.org/538653002/diff/140001/ui/events/gesture_detection/gesture_provider.cc File ui/events/gesture_detection/gesture_provider.cc (right): https://codereview.chromium.org/538653002/diff/140001/ui/events/gesture_detection/gesture_provider.cc#newcode124 ui/events/gesture_detection/gesture_provider.cc:124: if (!show_press_event_sent_ && !scroll_event_sent_) I prefer adding {} when ...
6 years, 3 months ago (2014-09-08 15:52:47 UTC) #18
lanwei
Thanks for your comments. They are very helpful. https://codereview.chromium.org/538653002/diff/140001/ui/events/gesture_detection/gesture_provider.cc File ui/events/gesture_detection/gesture_provider.cc (right): https://codereview.chromium.org/538653002/diff/140001/ui/events/gesture_detection/gesture_provider.cc#newcode124 ui/events/gesture_detection/gesture_provider.cc:124: if ...
6 years, 3 months ago (2014-09-08 16:14:52 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lanwei@chromium.org/538653002/160001
6 years, 3 months ago (2014-09-08 18:48:41 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:160001) as e28d4e3b62c5913bf00459aeef3cf1fc82cc2ab0
6 years, 3 months ago (2014-09-08 23:07:32 UTC) #22
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:48:50 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/647665c49d055d6a4645f7c842b35f2d0c20a025
Cr-Commit-Position: refs/heads/master@{#293807}

Powered by Google App Engine
This is Rietveld 408576698