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

Issue 302463004: Implementing the dispatch of the swipe gesture for one-finger touch swipes. (Closed)

Created:
6 years, 7 months ago by mfomitchev
Modified:
6 years, 7 months ago
CC:
chromium-reviews, sadrul, jar (doing other things), tdresser+watch_chromium.org, ben+aura_chromium.org, jam, darin-cc_chromium.org, asvitkine+watch_chromium.org, kalyank, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Implementing the dispatch of the swipe gesture for one-finger touch swipes. BUG=377555 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273097

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addressing review feedback and also rebasing to resolve conflicts. #

Total comments: 11

Patch Set 3 : Implementing review feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -106 lines) Patch
M ash/touch/touch_uma.cc View 1 2 3 chunks +50 lines, -45 lines 0 comments Download
M ash/wm/gestures/overview_gesture_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/toplevel_window_event_handler.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/renderer_host/ui_events_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/gestures/gesture_recognizer_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/events/event.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/events/event.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/events/event_constants.h View 1 1 chunk +4 lines, -3 lines 0 comments Download
M ui/events/gesture_detection/gesture_detector.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/gesture_detection/gesture_detector.cc View 1 3 chunks +30 lines, -23 lines 0 comments Download
M ui/events/gesture_detection/gesture_provider.cc View 1 1 chunk +2 lines, -4 lines 0 comments Download
M ui/events/gesture_detection/gesture_provider_unittest.cc View 1 9 chunks +50 lines, -15 lines 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/events/gesture_event_details.h View 1 1 chunk +4 lines, -4 lines 0 comments Download
M ui/events/gesture_event_details.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/events/gestures/gesture_sequence.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
mfomitchev
Can you please review and if you are okay with this I will add the ...
6 years, 7 months ago (2014-05-26 20:06:09 UTC) #1
tdresser
LGTM with nits. https://codereview.chromium.org/302463004/diff/1/ash/touch/touch_uma.cc File ash/touch/touch_uma.cc (right): https://codereview.chromium.org/302463004/diff/1/ash/touch/touch_uma.cc#newcode173 ash/touch/touch_uma.cc:173: return UMA_ET_GESTURE_MULTIFINGER_SWIPE_1; Can we switch to ...
6 years, 7 months ago (2014-05-26 20:49:57 UTC) #2
jdduke (slow)
lgtm with nits. I suppose it's fine that the fling event precedes the swipe event? ...
6 years, 7 months ago (2014-05-26 21:19:42 UTC) #3
mfomitchev
https://codereview.chromium.org/302463004/diff/1/ash/touch/touch_uma.cc File ash/touch/touch_uma.cc (right): https://codereview.chromium.org/302463004/diff/1/ash/touch/touch_uma.cc#newcode173 ash/touch/touch_uma.cc:173: return UMA_ET_GESTURE_MULTIFINGER_SWIPE_1; Ok. I am going to do the ...
6 years, 7 months ago (2014-05-26 22:07:14 UTC) #4
mfomitchev
mpearson@chromium.org: Please review changes in histograms.xml sky@chromium.org: Please review changes in remaining files
6 years, 7 months ago (2014-05-26 22:10:54 UTC) #5
tdresser
https://codereview.chromium.org/302463004/diff/20001/ash/touch/touch_uma.cc File ash/touch/touch_uma.cc (right): https://codereview.chromium.org/302463004/diff/20001/ash/touch/touch_uma.cc#newcode123 ash/touch/touch_uma.cc:123: return UMA_ET_GESTURE_SCROLL_UPDATE_4P; Thanks for catching this case - I ...
6 years, 7 months ago (2014-05-27 12:07:31 UTC) #6
sky
LGTM https://codereview.chromium.org/302463004/diff/20001/ash/touch/touch_uma.cc File ash/touch/touch_uma.cc (right): https://codereview.chromium.org/302463004/diff/20001/ash/touch/touch_uma.cc#newcode47 ash/touch/touch_uma.cc:47: UMA_ET_GESTURE_MULTIFINGER_SWIPE_2, Document what this and swipe 1 is. ...
6 years, 7 months ago (2014-05-27 17:27:54 UTC) #7
Alexei Svitkine (slow)
https://codereview.chromium.org/302463004/diff/20001/ash/touch/touch_uma.cc File ash/touch/touch_uma.cc (right): https://codereview.chromium.org/302463004/diff/20001/ash/touch/touch_uma.cc#newcode47 ash/touch/touch_uma.cc:47: UMA_ET_GESTURE_MULTIFINGER_SWIPE_2, On 2014/05/27 17:27:54, sky wrote: > Can you ...
6 years, 7 months ago (2014-05-27 17:29:11 UTC) #8
sky
https://codereview.chromium.org/302463004/diff/20001/ash/touch/touch_uma.cc File ash/touch/touch_uma.cc (right): https://codereview.chromium.org/302463004/diff/20001/ash/touch/touch_uma.cc#newcode47 ash/touch/touch_uma.cc:47: UMA_ET_GESTURE_MULTIFINGER_SWIPE_2, On 2014/05/27 17:29:12, Alexei Svitkine wrote: > On ...
6 years, 7 months ago (2014-05-27 17:36:33 UTC) #9
Mark P
https://codereview.chromium.org/302463004/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/302463004/diff/20001/tools/metrics/histograms/histograms.xml#newcode43238 tools/metrics/histograms/histograms.xml:43238: + <int value="35" label="One-finger swipe"/> It doesn't make sense ...
6 years, 7 months ago (2014-05-27 18:16:01 UTC) #10
mfomitchev
https://codereview.chromium.org/302463004/diff/20001/ash/touch/touch_uma.cc File ash/touch/touch_uma.cc (right): https://codereview.chromium.org/302463004/diff/20001/ash/touch/touch_uma.cc#newcode47 ash/touch/touch_uma.cc:47: UMA_ET_GESTURE_MULTIFINGER_SWIPE_2, On 2014/05/27 17:27:54, sky wrote: > Document what ...
6 years, 7 months ago (2014-05-27 18:33:43 UTC) #11
Mark P
histograms.xml lgtm
6 years, 7 months ago (2014-05-27 19:25:16 UTC) #12
mfomitchev
The CQ bit was checked by mfomitchev@chromium.org
6 years, 7 months ago (2014-05-27 21:21:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mfomitchev@chromium.org/302463004/40001
6 years, 7 months ago (2014-05-27 21:22:43 UTC) #14
commit-bot: I haz the power
6 years, 7 months ago (2014-05-28 01:13:38 UTC) #15
Message was sent while issue was closed.
Change committed as 273097

Powered by Google App Engine
This is Rietveld 408576698