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

Issue 10533029: Fix TAP_DOWN gesture event: (Closed)

Created:
8 years, 6 months ago by varunjain
Modified:
8 years, 6 months ago
Reviewers:
sadrul, sky
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, jochen+watch-content_chromium.org, ben+watch_chromium.org, tfarina, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su
Visibility:
Public.

Description

Fix TAP_DOWN gesture event: 1. GESTURE_TAP_DOWN should be sent only on the first TOUCH_PRESSED. 2. New gesture GESTURE_BEGIN shuold be sent on all TOUCH_PRESSED. 3. Rename GESTURE_TAP_UP to GESTURE_END. BUG=131007 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140967 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141011

Patch Set 1 #

Total comments: 10

Patch Set 2 : patch #

Total comments: 2

Patch Set 3 : fixed build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -38 lines) Patch
M ash/wm/system_gesture_event_filter.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_win.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/web_input_event_aurax11.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ui/aura/gestures/gesture_recognizer_unittest.cc View 1 2 39 chunks +67 lines, -7 lines 0 comments Download
M ui/aura/root_window_unittest.cc View 5 chunks +13 lines, -10 lines 0 comments Download
M ui/aura/window_unittest.cc View 1 2 5 chunks +10 lines, -5 lines 0 comments Download
M ui/base/events.h View 1 chunk +3 lines, -2 lines 0 comments Download
M ui/base/gestures/gesture_sequence.h View 1 chunk +2 lines, -1 line 0 comments Download
M ui/base/gestures/gesture_sequence.cc View 1 4 chunks +18 lines, -4 lines 0 comments Download
M ui/views/view_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/root_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/widget.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
varunjain
8 years, 6 months ago (2012-06-06 18:16:53 UTC) #1
sadrul
https://chromiumcodereview.appspot.com/10533029/diff/1/ash/wm/system_gesture_event_filter.cc File ash/wm/system_gesture_event_filter.cc (right): https://chromiumcodereview.appspot.com/10533029/diff/1/ash/wm/system_gesture_event_filter.cc#newcode538 ash/wm/system_gesture_event_filter.cc:538: if (event->type() == ui::ET_GESTURE_TAP_DOWN && Change this to _BEGIN ...
8 years, 6 months ago (2012-06-06 19:51:13 UTC) #2
varunjain
https://chromiumcodereview.appspot.com/10533029/diff/1/ash/wm/system_gesture_event_filter.cc File ash/wm/system_gesture_event_filter.cc (right): https://chromiumcodereview.appspot.com/10533029/diff/1/ash/wm/system_gesture_event_filter.cc#newcode538 ash/wm/system_gesture_event_filter.cc:538: if (event->type() == ui::ET_GESTURE_TAP_DOWN && On 2012/06/06 19:51:14, sadrul ...
8 years, 6 months ago (2012-06-06 21:52:53 UTC) #3
sadrul
LGTM. Thanks!
8 years, 6 months ago (2012-06-06 22:13:40 UTC) #4
sky
http://codereview.chromium.org/10533029/diff/8001/ui/views/widget/widget.cc File ui/views/widget/widget.cc (right): http://codereview.chromium.org/10533029/diff/8001/ui/views/widget/widget.cc#newcode1120 ui/views/widget/widget.cc:1120: if (event.delta_x() == 1) { I don't understand the ...
8 years, 6 months ago (2012-06-07 02:43:54 UTC) #5
sadrul
http://codereview.chromium.org/10533029/diff/8001/ui/views/widget/widget.cc File ui/views/widget/widget.cc (right): http://codereview.chromium.org/10533029/diff/8001/ui/views/widget/widget.cc#newcode1120 ui/views/widget/widget.cc:1120: if (event.delta_x() == 1) { On 2012/06/07 02:43:54, sky ...
8 years, 6 months ago (2012-06-07 03:04:54 UTC) #6
sky
Oy, I hope that name gets fixed. I had considered doing something like this, but ...
8 years, 6 months ago (2012-06-07 03:31:56 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/10533029/8001
8 years, 6 months ago (2012-06-07 03:46:07 UTC) #8
commit-bot: I haz the power
Change committed as 140967
8 years, 6 months ago (2012-06-07 05:56:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/10533029/4005
8 years, 6 months ago (2012-06-07 13:31:45 UTC) #10
commit-bot: I haz the power
8 years, 6 months ago (2012-06-07 15:33:07 UTC) #11
Change committed as 141011

Powered by Google App Engine
This is Rietveld 408576698