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

Issue 469523003: Add the actual location coordinates to the touch cancel event (Closed)

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

Description

Add the actual location coordinates to the touch cancel event BUG=398882 Committed: https://crrev.com/9ed09a4d5b4416c2edc7ec0e54ebf675caea9b86 Cr-Commit-Position: refs/heads/master@{#292523}

Patch Set 1 #

Patch Set 2 : Fixed the unit tests #

Total comments: 27

Patch Set 3 : Made changes based on comments #

Patch Set 4 : canceling the touch points from GestureConsumer #

Total comments: 9

Patch Set 5 : change after removing the old gesture #

Total comments: 2

Patch Set 6 : fix unit tests #

Patch Set 7 : clone the state_point #

Total comments: 1

Patch Set 8 : change the name to cancelled_touch_points #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -60 lines) Patch
M ui/aura/gestures/gesture_recognizer_unittest.cc View 1 2 3 4 5 6 7 5 chunks +42 lines, -22 lines 0 comments Download
M ui/aura/window_event_dispatcher.cc View 1 2 3 4 5 3 chunks +5 lines, -5 lines 0 comments Download
M ui/events/event.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M ui/events/gestures/gesture_recognizer_impl.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M ui/events/gestures/gesture_recognizer_impl.cc View 1 2 3 4 5 6 3 chunks +39 lines, -32 lines 0 comments Download

Messages

Total messages: 32 (1 generated)
lanwei
Add the actual location coordinates to the touch cancel event
6 years, 4 months ago (2014-08-13 16:56:12 UTC) #1
tdresser
On 2014/08/13 16:56:12, lanwei wrote: > Add the actual location coordinates to the touch cancel ...
6 years, 4 months ago (2014-08-13 17:19:57 UTC) #2
lanwei
Fixed the unit tests
6 years, 4 months ago (2014-08-13 19:41:54 UTC) #3
tdresser
https://codereview.chromium.org/469523003/diff/20001/ui/aura/gestures/gesture_recognizer_unittest.cc File ui/aura/gestures/gesture_recognizer_unittest.cc (left): https://codereview.chromium.org/469523003/diff/20001/ui/aura/gestures/gesture_recognizer_unittest.cc#oldcode3781 ui/aura/gestures/gesture_recognizer_unittest.cc:3781: scoped_ptr<RemoveOnTouchCancelHandler> We should be able to delete the RemoveOnTouchCancelHandler, ...
6 years, 4 months ago (2014-08-13 19:57:59 UTC) #4
lanwei
https://codereview.chromium.org/469523003/diff/20001/ui/aura/gestures/gesture_recognizer_unittest.cc File ui/aura/gestures/gesture_recognizer_unittest.cc (left): https://codereview.chromium.org/469523003/diff/20001/ui/aura/gestures/gesture_recognizer_unittest.cc#oldcode3781 ui/aura/gestures/gesture_recognizer_unittest.cc:3781: scoped_ptr<RemoveOnTouchCancelHandler> On 2014/08/13 19:57:58, tdresser wrote: > We should ...
6 years, 4 months ago (2014-08-14 00:38:46 UTC) #5
tdresser
https://codereview.chromium.org/469523003/diff/20001/ui/events/gestures/gesture_recognizer_impl.cc File ui/events/gestures/gesture_recognizer_impl.cc (right): https://codereview.chromium.org/469523003/diff/20001/ui/events/gestures/gesture_recognizer_impl.cc#newcode268 ui/events/gestures/gesture_recognizer_impl.cc:268: std::vector<std::pair<int, GestureConsumer*> >* touches) { On 2014/08/14 00:38:46, lanwei ...
6 years, 4 months ago (2014-08-14 12:16:39 UTC) #6
tdresser
Jared - just making sure you agree with me that finding touch indices via an ...
6 years, 4 months ago (2014-08-14 12:24:23 UTC) #7
lanwei
canceling the touch points from GestureConsumer instead of going through the touch_id_target_ list
6 years, 4 months ago (2014-08-15 14:01:15 UTC) #8
tdresser
LGTM, with a few last comments. We'll hold off to land until the GR cleanup ...
6 years, 4 months ago (2014-08-15 14:22:05 UTC) #9
sadrul
https://codereview.chromium.org/469523003/diff/60001/ui/aura/window_event_dispatcher.cc File ui/aura/window_event_dispatcher.cc (right): https://codereview.chromium.org/469523003/diff/60001/ui/aura/window_event_dispatcher.cc#newcode535 ui/aura/window_event_dispatcher.cc:535: // function. Thus, we revert the location back in ...
6 years, 4 months ago (2014-08-15 16:10:43 UTC) #10
tdresser
https://codereview.chromium.org/469523003/diff/60001/ui/aura/window_event_dispatcher.cc File ui/aura/window_event_dispatcher.cc (right): https://codereview.chromium.org/469523003/diff/60001/ui/aura/window_event_dispatcher.cc#newcode535 ui/aura/window_event_dispatcher.cc:535: // function. Thus, we revert the location back in ...
6 years, 4 months ago (2014-08-15 16:48:44 UTC) #11
lanwei
https://codereview.chromium.org/469523003/diff/60001/ui/aura/window_event_dispatcher.cc File ui/aura/window_event_dispatcher.cc (right): https://codereview.chromium.org/469523003/diff/60001/ui/aura/window_event_dispatcher.cc#newcode535 ui/aura/window_event_dispatcher.cc:535: // function. Thus, we revert the location back in ...
6 years, 4 months ago (2014-08-15 17:09:28 UTC) #12
lanwei
changes after removing the old gesture
6 years, 3 months ago (2014-08-26 22:09:55 UTC) #13
jdduke (slow)
jdduke@chromium.org changed reviewers: + jdduke@chromium.org
6 years, 3 months ago (2014-08-26 23:22:24 UTC) #14
jdduke (slow)
https://codereview.chromium.org/469523003/diff/80001/ui/events/gestures/gesture_recognizer_impl.cc File ui/events/gestures/gesture_recognizer_impl.cc (right): https://codereview.chromium.org/469523003/diff/80001/ui/events/gestures/gesture_recognizer_impl.cc#newcode177 ui/events/gestures/gesture_recognizer_impl.cc:177: const MotionEventAura& pointer_state = Could the referenced MotionEventAura be ...
6 years, 3 months ago (2014-08-26 23:22:24 UTC) #15
lanwei
fix the unit tests https://codereview.chromium.org/469523003/diff/60001/ui/aura/window_event_dispatcher.cc File ui/aura/window_event_dispatcher.cc (right): https://codereview.chromium.org/469523003/diff/60001/ui/aura/window_event_dispatcher.cc#newcode535 ui/aura/window_event_dispatcher.cc:535: // function. Thus, we revert ...
6 years, 3 months ago (2014-08-27 03:54:03 UTC) #16
tdresser
https://codereview.chromium.org/469523003/diff/80001/ui/events/gestures/gesture_recognizer_impl.cc File ui/events/gestures/gesture_recognizer_impl.cc (right): https://codereview.chromium.org/469523003/diff/80001/ui/events/gestures/gesture_recognizer_impl.cc#newcode177 ui/events/gestures/gesture_recognizer_impl.cc:177: const MotionEventAura& pointer_state = On 2014/08/26 23:22:24, jdduke wrote: ...
6 years, 3 months ago (2014-08-27 13:07:09 UTC) #17
lanwei
I clone the pointer_state so that it is safe to iterator through.
6 years, 3 months ago (2014-08-27 15:46:46 UTC) #18
tdresser
https://codereview.chromium.org/469523003/diff/120001/ui/aura/gestures/gesture_recognizer_unittest.cc File ui/aura/gestures/gesture_recognizer_unittest.cc (right): https://codereview.chromium.org/469523003/diff/120001/ui/aura/gestures/gesture_recognizer_unittest.cc#newcode579 ui/aura/gestures/gesture_recognizer_unittest.cc:579: std::vector<gfx::PointF> touch_points_; Perhaps we should name this |cancelled_touch_points_|.
6 years, 3 months ago (2014-08-27 15:58:51 UTC) #19
sadrul
aura and events lgtm
6 years, 3 months ago (2014-08-28 17:29:48 UTC) #20
lanwei
The CQ bit was checked by lanwei@chromium.org
6 years, 3 months ago (2014-08-28 17:40:05 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lanwei@chromium.org/469523003/140001
6 years, 3 months ago (2014-08-28 17:40:51 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_rel_swarming on tryserver.chromium.linux ...
6 years, 3 months ago (2014-08-28 19:40:01 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-28 20:22:35 UTC) #24
commit-bot: I haz the power
Failed to commit the patch.
6 years, 3 months ago (2014-08-28 20:22:36 UTC) #25
lanwei
The CQ bit was checked by lanwei@chromium.org
6 years, 3 months ago (2014-08-28 21:48:14 UTC) #26
lanwei
The CQ bit was unchecked by lanwei@chromium.org
6 years, 3 months ago (2014-08-28 21:48:15 UTC) #27
lanwei
The CQ bit was checked by lanwei@chromium.org
6 years, 3 months ago (2014-08-29 00:41:09 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lanwei@chromium.org/469523003/140001
6 years, 3 months ago (2014-08-29 00:42:20 UTC) #29
commit-bot: I haz the power
Committed patchset #8 (id:140001) as 462854023e95e486e950323a2f51910a92da21d6
6 years, 3 months ago (2014-08-29 00:43:37 UTC) #30
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:04:24 UTC) #32
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/9ed09a4d5b4416c2edc7ec0e54ebf675caea9b86
Cr-Commit-Position: refs/heads/master@{#292523}

Powered by Google App Engine
This is Rietveld 408576698