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

Issue 306483003: Prepare for Unified Gesture Recognizer landing in Aura (Closed)

Created:
6 years, 7 months ago by tdresser
Modified:
6 years, 6 months ago
CC:
chromium-reviews, sadrul, tdresser+watch_chromium.org, ben+aura_chromium.org, kalyank
Visibility:
Public.

Description

Prepare for Unified Gesture Recognizer landing in Aura This is the final cleanup before the unified gesture recognizer is turned on. Tests are passing with the unified GR flag on and with the flag off. BUG=332418 Test=GestureRecognizerTest.*, GestureProviderTest.* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274277

Patch Set 1 #

Patch Set 2 : Fix some issues with begin/end gestures. #

Patch Set 3 : More cleanup. #

Patch Set 4 : Undo bounding box changes. #

Patch Set 5 : Should pass with unified GR both on and off. #

Patch Set 6 : Disable unified GR. #

Patch Set 7 : Fix WindowEventDispatcherTest. #

Patch Set 8 : Unified GR on, fix memory leaks. #

Patch Set 9 : Unified GR off. #

Patch Set 10 : Get rid of DeleteSoon (UGR on) #

Patch Set 11 : Disable UGR. #

Total comments: 25

Patch Set 12 : Address jdduke's comments. #

Patch Set 13 : Tiny clean up. #

Patch Set 14 : Disable UGR again. #

Total comments: 6

Patch Set 15 : Address jdduke's comments. #

Total comments: 2

Patch Set 16 : Trying to ensure all touch events have a time (UGR enabled) #

Patch Set 17 : All Gesture events should have timestamps. (UGR on) #

Total comments: 2

Patch Set 18 : Fix android linking error (UGR on) #

Total comments: 2

Patch Set 19 : Fix non-monotonic timestamps #

Total comments: 12

Patch Set 20 : Address sadrul's comments #

Total comments: 2

Patch Set 21 : Fix whitespace, disable UGR. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+354 lines, -131 lines) Patch
M ash/shelf/shelf_layout_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 16 chunks +67 lines, -34 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +14 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -1 line 0 comments Download
M content/common/input/synthetic_web_input_event_builders.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +3 lines, -1 line 0 comments Download
M ui/aura/gestures/gesture_recognizer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +0 lines, -5 lines 0 comments Download
M ui/aura/window_event_dispatcher_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 10 chunks +62 lines, -32 lines 0 comments Download
M ui/events/event_constants.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -2 lines 0 comments Download
M ui/events/gesture_detection/gesture_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +33 lines, -7 lines 0 comments Download
M ui/events/gesture_detection/gesture_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +104 lines, -19 lines 0 comments Download
M ui/events/gesture_detection/mock_motion_event.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -2 lines 0 comments Download
M ui/events/gestures/gesture_provider_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +3 lines, -0 lines 0 comments Download
M ui/events/gestures/gesture_provider_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +36 lines, -13 lines 0 comments Download
M ui/events/gestures/gesture_recognizer_impl.cc View 1 2 3 4 5 6 7 8 9 10 12 13 16 17 18 19 20 3 chunks +5 lines, -6 lines 0 comments Download
M ui/events/test/events_test_utils_x11.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +16 lines, -1 line 0 comments Download
M ui/views/widget/native_widget_aura_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
tdresser
6 years, 6 months ago (2014-05-28 15:42:16 UTC) #1
jdduke (slow)
https://codereview.chromium.org/306483003/diff/210001/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc File chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc (right): https://codereview.chromium.org/306483003/diff/210001/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc#newcode90 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc:90: release_location, Nit: Alignment. https://codereview.chromium.org/306483003/diff/210001/ui/events/gesture_detection/gesture_provider.cc File ui/events/gesture_detection/gesture_provider.cc (left): https://codereview.chromium.org/306483003/diff/210001/ui/events/gesture_detection/gesture_provider.cc#oldcode653 ui/events/gesture_detection/gesture_provider.cc:653: ...
6 years, 6 months ago (2014-05-28 16:25:59 UTC) #2
tdresser
https://codereview.chromium.org/306483003/diff/210001/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc File chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc (right): https://codereview.chromium.org/306483003/diff/210001/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc#newcode90 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc:90: release_location, On 2014/05/28 16:26:00, jdduke wrote: > Nit: Alignment. ...
6 years, 6 months ago (2014-05-29 14:26:19 UTC) #3
jdduke (slow)
https://codereview.chromium.org/306483003/diff/210001/ui/events/gesture_detection/gesture_provider.cc File ui/events/gesture_detection/gesture_provider.cc (left): https://codereview.chromium.org/306483003/diff/210001/ui/events/gesture_detection/gesture_provider.cc#oldcode653 ui/events/gesture_detection/gesture_provider.cc:653: DCHECK(!gesture.time.is_null()); On 2014/05/29 14:26:21, tdresser wrote: > On 2014/05/28 ...
6 years, 6 months ago (2014-05-29 16:25:39 UTC) #4
tdresser
davemoore@, can you take a look at: ash/shelf/shelf_layout_manager_unittest.cc pkasting@, can you take a look at: ...
6 years, 6 months ago (2014-05-29 16:38:37 UTC) #5
Peter Kasting
LGTM https://codereview.chromium.org/306483003/diff/290001/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc File chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc (right): https://codereview.chromium.org/306483003/diff/290001/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc#newcode92 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc:92: base::TimeDelta::FromMilliseconds(10)); Nit: Since the code just above combines ...
6 years, 6 months ago (2014-05-29 18:05:43 UTC) #6
tdresser
https://codereview.chromium.org/306483003/diff/210001/ui/events/gesture_detection/gesture_provider.cc File ui/events/gesture_detection/gesture_provider.cc (left): https://codereview.chromium.org/306483003/diff/210001/ui/events/gesture_detection/gesture_provider.cc#oldcode653 ui/events/gesture_detection/gesture_provider.cc:653: DCHECK(!gesture.time.is_null()); On 2014/05/29 16:25:40, jdduke wrote: > On 2014/05/29 ...
6 years, 6 months ago (2014-05-30 14:05:37 UTC) #7
jdduke (slow)
Thanks for hunting down the null timestamps! ui/events/gesture_detection lgtm (with one not for a browsertest). ...
6 years, 6 months ago (2014-05-30 14:56:27 UTC) #8
jdduke (slow)
https://codereview.chromium.org/306483003/diff/340001/content/common/input/synthetic_web_input_event_builders.cc File content/common/input/synthetic_web_input_event_builders.cc (left): https://codereview.chromium.org/306483003/diff/340001/content/common/input/synthetic_web_input_event_builders.cc#oldcode150 content/common/input/synthetic_web_input_event_builders.cc:150: SyntheticWebTouchEvent::SyntheticWebTouchEvent() : WebTouchEvent() {} I am curious what test ...
6 years, 6 months ago (2014-05-30 15:04:54 UTC) #9
tdresser
sadrul@, can you take a look at: ui/events/ (except for gesture_detection) ui/aura jochen@, can you ...
6 years, 6 months ago (2014-05-30 16:04:05 UTC) #10
jochen (gone - plz use gerrit)
browsertest lgtm
6 years, 6 months ago (2014-06-02 07:18:02 UTC) #11
tdresser
skuhn@, PTAL at ash/shelf/shelf_layout_manager_unittest.cc
6 years, 6 months ago (2014-06-02 12:40:39 UTC) #12
sadrul
https://codereview.chromium.org/306483003/diff/350001/ui/aura/gestures/gesture_recognizer_unittest.cc File ui/aura/gestures/gesture_recognizer_unittest.cc (right): https://codereview.chromium.org/306483003/diff/350001/ui/aura/gestures/gesture_recognizer_unittest.cc#newcode692 ui/aura/gestures/gesture_recognizer_unittest.cc:692: virtual void TearDown() OVERRIDE { You can remove this ...
6 years, 6 months ago (2014-06-02 13:31:22 UTC) #13
tdresser
https://codereview.chromium.org/306483003/diff/350001/ui/aura/gestures/gesture_recognizer_unittest.cc File ui/aura/gestures/gesture_recognizer_unittest.cc (right): https://codereview.chromium.org/306483003/diff/350001/ui/aura/gestures/gesture_recognizer_unittest.cc#newcode692 ui/aura/gestures/gesture_recognizer_unittest.cc:692: virtual void TearDown() OVERRIDE { On 2014/06/02 13:31:23, sadrul ...
6 years, 6 months ago (2014-06-02 14:00:38 UTC) #14
sadrul
lgtm https://codereview.chromium.org/306483003/diff/350001/ui/aura/window_event_dispatcher_unittest.cc File ui/aura/window_event_dispatcher_unittest.cc (right): https://codereview.chromium.org/306483003/diff/350001/ui/aura/window_event_dispatcher_unittest.cc#newcode1597 ui/aura/window_event_dispatcher_unittest.cc:1597: EXPECT_TRUE(recorder.HasReceivedEvent(ui::ET_GESTURE_END)); On 2014/06/02 14:00:38, tdresser wrote: > On ...
6 years, 6 months ago (2014-06-02 14:28:17 UTC) #15
Mr4D (OOO till 08-26)
lgtm https://codereview.chromium.org/306483003/diff/370001/ash/shelf/shelf_layout_manager_unittest.cc File ash/shelf/shelf_layout_manager_unittest.cc (right): https://codereview.chromium.org/306483003/diff/370001/ash/shelf/shelf_layout_manager_unittest.cc#newcode423 ash/shelf/shelf_layout_manager_unittest.cc:423: kTimeDelta, kNumScrollSteps, Our style guide requires to put ...
6 years, 6 months ago (2014-06-02 14:32:58 UTC) #16
tdresser
https://codereview.chromium.org/306483003/diff/350001/ui/aura/window_event_dispatcher_unittest.cc File ui/aura/window_event_dispatcher_unittest.cc (right): https://codereview.chromium.org/306483003/diff/350001/ui/aura/window_event_dispatcher_unittest.cc#newcode1597 ui/aura/window_event_dispatcher_unittest.cc:1597: EXPECT_TRUE(recorder.HasReceivedEvent(ui::ET_GESTURE_END)); On 2014/06/02 14:28:18, sadrul wrote: > On 2014/06/02 ...
6 years, 6 months ago (2014-06-02 14:43:46 UTC) #17
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 6 months ago (2014-06-02 14:43:53 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/306483003/390001
6 years, 6 months ago (2014-06-02 14:44:42 UTC) #19
commit-bot: I haz the power
6 years, 6 months ago (2014-06-02 18:02:53 UTC) #20
Message was sent while issue was closed.
Change committed as 274277

Powered by Google App Engine
This is Rietveld 408576698