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

Issue 251543003: Unified Gesture Recognizer (Closed)

Created:
6 years, 8 months ago by tdresser
Modified:
6 years, 7 months ago
CC:
chromium-reviews, creis+watch_chromium.org, tdresser+watch_chromium.org, ben+aura_chromium.org, nasko+codewatch_chromium.org, jam, sadrul, darin-cc_chromium.org, kalyank, ben+ash_chromium.org
Visibility:
Public.

Description

Unified Gesture Recognizer This adds the unified GR for Aura behind the --use-unified-gesture-detector flag. BUG=332418 TEST=GestureRecognizer/GestureRecognizerTest.* MotionEventUITest.* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269325

Patch Set 1 #

Patch Set 2 : Rebase and cleanup. #

Patch Set 3 : Fix link errors. #

Patch Set 4 : Fix link errors better. #

Patch Set 5 : Rebase #

Patch Set 6 : More linking tweaks... #

Patch Set 7 : Get rid of ET_TOUCH_STATIONARY. #

Patch Set 8 : Fix windows linking #

Total comments: 49

Patch Set 9 : Address jdduke comments. #

Total comments: 33

Patch Set 10 : Address Jared's second round of comments. #

Total comments: 4

Patch Set 11 : Address jdduke's third round of comments. #

Patch Set 12 : Fix broken const. #

Total comments: 2

Patch Set 13 : Fix android linking issues. #

Total comments: 1

Patch Set 14 : events.gyp tweaks. #

Patch Set 15 : Attempt to stop android from building 'events' target. #

Patch Set 16 : Allow Android to build "events" target. #

Total comments: 10

Patch Set 17 : Address sadrul's comments. #

Patch Set 18 : Fix drag_drop_controller_unittest.cc #

Patch Set 19 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1003 lines, -80 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download
M ash/drag_drop/drag_drop_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +7 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/aura.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/gestures/gesture_recognizer_unittest.cc View 1 2 3 4 5 8 3 chunks +12 lines, -3 lines 0 comments Download
M ui/aura/window_event_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +1 line, -6 lines 0 comments Download
M ui/aura/window_event_dispatcher.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M ui/events/event_switches.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/event_switches.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/events.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 10 chunks +36 lines, -11 lines 0 comments Download
M ui/events/gesture_detection/gesture_config_helper_aura.cc View 1 2 3 chunks +8 lines, -3 lines 0 comments Download
M ui/events/gesture_detection/motion_event.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/gestures/gesture_configuration.h View 1 2 3 4 5 4 chunks +12 lines, -2 lines 0 comments Download
M ui/events/gestures/gesture_configuration.cc View 1 chunk +4 lines, -0 lines 0 comments Download
A ui/events/gestures/gesture_provider_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +50 lines, -0 lines 0 comments Download
A ui/events/gestures/gesture_provider_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +68 lines, -0 lines 0 comments Download
M ui/events/gestures/gesture_recognizer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +18 lines, -2 lines 0 comments Download
M ui/events/gestures/gesture_recognizer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 7 chunks +140 lines, -43 lines 0 comments Download
M ui/events/gestures/gesture_types.h View 1 chunk +1 line, -1 line 0 comments Download
A ui/events/gestures/motion_event_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +102 lines, -0 lines 0 comments Download
A ui/events/gestures/motion_event_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +241 lines, -0 lines 0 comments Download
A ui/events/gestures/motion_event_aura_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +293 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (0 generated)
tdresser
I'm still working out some windows compilation issues, but I shouldn't need to change anything ...
6 years, 7 months ago (2014-05-01 14:31:20 UTC) #1
tdresser
jdduke@, can you take a look at ui/events/gesture_detection?
6 years, 7 months ago (2014-05-02 13:24:15 UTC) #2
jdduke (slow)
Nice. I think my only structural comment is that it might make sense to use ...
6 years, 7 months ago (2014-05-02 17:56:43 UTC) #3
jdduke (slow)
https://codereview.chromium.org/251543003/diff/140001/ui/events/gesture_detection/filtered_gesture_provider.h File ui/events/gesture_detection/filtered_gesture_provider.h (right): https://codereview.chromium.org/251543003/diff/140001/ui/events/gesture_detection/filtered_gesture_provider.h#newcode19 ui/events/gesture_detection/filtered_gesture_provider.h:19: private ui::GestureProviderClient { On 2014/05/02 17:56:43, jdduke wrote: > ...
6 years, 7 months ago (2014-05-02 17:58:41 UTC) #4
tdresser
Some linking stuff to clean up due to the renames to _aura, but in the ...
6 years, 7 months ago (2014-05-05 15:42:35 UTC) #5
jdduke (slow)
https://codereview.chromium.org/251543003/diff/160001/ui/events/gestures/gesture_configuration.h File ui/events/gestures/gesture_configuration.h (right): https://codereview.chromium.org/251543003/diff/160001/ui/events/gestures/gesture_configuration.h#newcode17 ui/events/gestures/gesture_configuration.h:17: class EVENTS_BASE_EXPORT GestureConfiguration { Hmm, do we want this ...
6 years, 7 months ago (2014-05-05 16:57:08 UTC) #6
tdresser
https://codereview.chromium.org/251543003/diff/160001/ui/events/gestures/gesture_configuration.h File ui/events/gestures/gesture_configuration.h (right): https://codereview.chromium.org/251543003/diff/160001/ui/events/gestures/gesture_configuration.h#newcode17 ui/events/gestures/gesture_configuration.h:17: class EVENTS_BASE_EXPORT GestureConfiguration { On 2014/05/05 16:57:09, jdduke wrote: ...
6 years, 7 months ago (2014-05-05 17:45:13 UTC) #7
jdduke (slow)
ui/events/gesture_detection lgtm, as well as the new files previously in gesture_detection (with a couple nits). ...
6 years, 7 months ago (2014-05-05 17:52:48 UTC) #8
tdresser
Sadrul, can you take a look at ui/aura/aura.gyp ui/aura/gestures/gesture_recognizer_unittest.cc ui/aura/window_event_dispatcher.h ui/aura/window_event_dispatcher.cc ui/events/event_switches.h ui/events/event_switches.cc ui/events/gestures/gesture_configuration.h ui/events/gestures/gesture_configuration.cc ...
6 years, 7 months ago (2014-05-05 18:11:18 UTC) #9
jdduke (slow)
https://codereview.chromium.org/251543003/diff/250001/ui/events/gestures/gesture_provider_aura.cc File ui/events/gestures/gesture_provider_aura.cc (right): https://codereview.chromium.org/251543003/diff/250001/ui/events/gestures/gesture_provider_aura.cc#newcode65 ui/events/gestures/gesture_provider_aura.cc:65: 1 << gesture.motion_event_id)); One last question. If the reference ...
6 years, 7 months ago (2014-05-05 18:40:28 UTC) #10
tdresser
https://codereview.chromium.org/251543003/diff/250001/ui/events/gestures/gesture_provider_aura.cc File ui/events/gestures/gesture_provider_aura.cc (right): https://codereview.chromium.org/251543003/diff/250001/ui/events/gestures/gesture_provider_aura.cc#newcode65 ui/events/gestures/gesture_provider_aura.cc:65: 1 << gesture.motion_event_id)); On 2014/05/05 18:40:29, jdduke wrote: > ...
6 years, 7 months ago (2014-05-05 18:56:06 UTC) #11
tdresser
jochen@, could you take a look at: content/browser/frame_host/render_widget_host_view_guest.h content/browser/frame_host/render_widget_host_view_guest.cc content/content_tests.gypi It just renames single method ...
6 years, 7 months ago (2014-05-07 12:34:18 UTC) #12
jochen (gone - plz use gerrit)
lgtm
6 years, 7 months ago (2014-05-07 12:44:39 UTC) #13
sadrul
LGTM https://codereview.chromium.org/251543003/diff/320001/ui/aura/window_event_dispatcher.h File ui/aura/window_event_dispatcher.h (right): https://codereview.chromium.org/251543003/diff/320001/ui/aura/window_event_dispatcher.h#newcode77 ui/aura/window_event_dispatcher.h:77: // events are dispatched from GestureRecognizer instead of ...
6 years, 7 months ago (2014-05-07 13:42:17 UTC) #14
tdresser
https://codereview.chromium.org/251543003/diff/320001/ui/aura/window_event_dispatcher.h File ui/aura/window_event_dispatcher.h (right): https://codereview.chromium.org/251543003/diff/320001/ui/aura/window_event_dispatcher.h#newcode77 ui/aura/window_event_dispatcher.h:77: // events are dispatched from GestureRecognizer instead of WindowTreeHost. ...
6 years, 7 months ago (2014-05-07 14:04:17 UTC) #15
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 7 months ago (2014-05-07 14:09:00 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/251543003/340001
6 years, 7 months ago (2014-05-07 14:10:30 UTC) #17
tdresser
The CQ bit was unchecked by tdresser@chromium.org
6 years, 7 months ago (2014-05-07 15:35:15 UTC) #18
tdresser
Oshima, can you take a look at: ash/drag_drop/drag_drop_controller_unittest.cc
6 years, 7 months ago (2014-05-07 15:38:37 UTC) #19
oshima
lgtm
6 years, 7 months ago (2014-05-07 17:03:30 UTC) #20
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 7 months ago (2014-05-07 17:04:32 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/251543003/360001
6 years, 7 months ago (2014-05-07 17:06:47 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 19:59:01 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 20:18:06 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #2). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 20:27:54 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-07 20:38:00 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium android_dbg_triggered_tests on tryserver.chromium
6 years, 7 months ago (2014-05-07 20:38:00 UTC) #27
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 7 months ago (2014-05-07 23:11:01 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/251543003/360001
6 years, 7 months ago (2014-05-07 23:14:22 UTC) #29
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 23:27:35 UTC) #30
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #2). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 23:34:18 UTC) #31
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-07 23:45:38 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium android_dbg_triggered_tests on tryserver.chromium
6 years, 7 months ago (2014-05-07 23:45:39 UTC) #33
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 7 months ago (2014-05-08 12:09:02 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/251543003/380001
6 years, 7 months ago (2014-05-08 12:12:40 UTC) #35
tdresser
The CQ bit was unchecked by tdresser@chromium.org
6 years, 7 months ago (2014-05-08 15:04:02 UTC) #36
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 7 months ago (2014-05-08 15:04:03 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/251543003/380001
6 years, 7 months ago (2014-05-08 15:09:43 UTC) #38
tdresser
The CQ bit was unchecked by tdresser@chromium.org
6 years, 7 months ago (2014-05-09 11:53:47 UTC) #39
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 7 months ago (2014-05-09 11:53:47 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/251543003/380001
6 years, 7 months ago (2014-05-09 12:00:26 UTC) #41
commit-bot: I haz the power
Change committed as 269325
6 years, 7 months ago (2014-05-09 16:28:21 UTC) #42
Lei Zhang
A revert of this CL has been created in https://codereview.chromium.org/278073004/ by thestig@chromium.org. The reason for ...
6 years, 7 months ago (2014-05-10 02:00:06 UTC) #43
Alpha Left Google
6 years, 7 months ago (2014-05-10 20:03:25 UTC) #44
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/278183002/ by hclam@chromium.org.

The reason for reverting is: Memory leak detected:
http://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20....

Powered by Google App Engine
This is Rietveld 408576698