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

Issue 243403002: Add multi-finger swipe detection to GestureDetector (Closed)

Created:
6 years, 8 months ago by jdduke (slow)
Modified:
6 years, 8 months ago
Reviewers:
tdresser
CC:
chromium-reviews, nona+watch_chromium.org, James Su, yukishiino+watch_chromium.org, penghuang+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add multi-finger swipe detection to GestureDetector Add optional ET_GESTURE_MULTIFINGER_SWIPE detection to the unified GestureDetector implemenation. This is currently used only on Aura. BUG=354397 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266087

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Test three finger swipe #

Total comments: 3

Patch Set 4 : Use angle #

Total comments: 4

Patch Set 5 : Code review #

Patch Set 6 : Fix M_PI #

Unified diffs Side-by-side diffs Delta from patch set Stats (+368 lines, -34 lines) Patch
M ui/events/gesture_detection/gesture_config_helper_aura.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/gesture_detector.h View 1 2 3 4 6 chunks +42 lines, -14 lines 0 comments Download
M ui/events/gesture_detection/gesture_detector.cc View 1 2 3 4 5 8 chunks +63 lines, -9 lines 0 comments Download
M ui/events/gesture_detection/gesture_provider.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/events/gesture_detection/gesture_provider.cc View 1 2 3 3 chunks +13 lines, -2 lines 0 comments Download
M ui/events/gesture_detection/gesture_provider_unittest.cc View 1 2 3 7 chunks +218 lines, -8 lines 0 comments Download
M ui/events/gesture_detection/mock_motion_event.h View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/mock_motion_event.cc View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
jdduke (slow)
tdresser@: PTAL. I may add another test (for >2 touch points), and I have yet ...
6 years, 8 months ago (2014-04-18 17:26:08 UTC) #1
jdduke (slow)
I also considered adding some of the more subtle direction logic to GestureProvider instead of ...
6 years, 8 months ago (2014-04-18 17:52:00 UTC) #2
tdresser
Works great on Aura with unified GR. I'd like to hear your thoughts on splitting ...
6 years, 8 months ago (2014-04-22 15:27:16 UTC) #3
tdresser
LGTM, I'm ok with putting the logic in GestureDetector, as per offline conversation.
6 years, 8 months ago (2014-04-22 16:03:26 UTC) #4
jdduke (slow)
tdresser@: Could you take a look at the trig? Thanks. We'll probably want to update ...
6 years, 8 months ago (2014-04-24 00:54:28 UTC) #5
tdresser
LGTM, with a couple of nits. I filed a bug to update GestureConfiguration: https://code.google.com/p/chromium/issues/detail?id=366603 https://codereview.chromium.org/243403002/diff/60001/ui/events/gesture_detection/gesture_detector.cc ...
6 years, 8 months ago (2014-04-24 12:42:39 UTC) #6
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 8 months ago (2014-04-24 15:13:31 UTC) #7
jdduke (slow)
https://codereview.chromium.org/243403002/diff/60001/ui/events/gesture_detection/gesture_detector.cc File ui/events/gesture_detection/gesture_detector.cc (right): https://codereview.chromium.org/243403002/diff/60001/ui/events/gesture_detection/gesture_detector.cc#newcode24 ui/events/gesture_detection/gesture_detector.cc:24: const float kDegreesToRadians = 3.14159265f / 180.0f; On 2014/04/24 ...
6 years, 8 months ago (2014-04-24 15:13:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/243403002/80001
6 years, 8 months ago (2014-04-24 15:14:45 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 16:45:51 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-24 16:45:52 UTC) #11
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 8 months ago (2014-04-24 18:00:15 UTC) #12
jdduke (slow)
The CQ bit was unchecked by jdduke@chromium.org
6 years, 8 months ago (2014-04-24 20:28:14 UTC) #13
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 8 months ago (2014-04-24 20:28:19 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/243403002/100001
6 years, 8 months ago (2014-04-24 21:11:17 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 22:46:47 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_rel
6 years, 8 months ago (2014-04-24 22:46:47 UTC) #17
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 8 months ago (2014-04-24 22:49:52 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/243403002/100001
6 years, 8 months ago (2014-04-24 22:51:39 UTC) #19
commit-bot: I haz the power
6 years, 8 months ago (2014-04-25 02:25:34 UTC) #20
Message was sent while issue was closed.
Change committed as 266087

Powered by Google App Engine
This is Rietveld 408576698