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

Issue 10824158: Pass tap count (1 or 2) with tap gesture events (Closed)

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

Description

Pass tap count (1 or 2) with tap gesture events This is necessary to support the generation of the correct dblclick event sequence in WebKit. Remove evil generic_x/generic_y from GestureEventDetails (some event types have data other than floats in that position of the union, this wasn't typesafe). Adds missing double tap gesture recognizer unit tests. This makes ET_GESTURE_DOUBLE_TAP pretty pointless now. I've filed crbug.com/140382 to track removing it. BUG=115486 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149935

Patch Set 1 #

Patch Set 2 : Fix comment #

Patch Set 3 : Fix windows build #

Total comments: 6

Patch Set 4 : Sadrul CR feedback #

Patch Set 5 : Merge with trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -15 lines) Patch
M content/browser/renderer_host/render_widget_host_view_win.cc View 1 2 3 1 chunk +19 lines, -2 lines 0 comments Download
M content/browser/renderer_host/web_input_event_aurax11.cc View 1 2 3 4 chunks +6 lines, -2 lines 0 comments Download
M ui/aura/gestures/gesture_recognizer_unittest.cc View 10 chunks +142 lines, -1 line 0 comments Download
M ui/base/gestures/gesture_sequence.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M ui/base/gestures/gesture_sequence.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M ui/base/gestures/gesture_types.h View 2 chunks +5 lines, -6 lines 0 comments Download
M ui/base/gestures/gesture_types.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Rick Byers
Sadrul, please review. WebKit side that builds on this (but can be safely submitted independently) ...
8 years, 4 months ago (2012-08-03 01:05:58 UTC) #1
sadrul
http://codereview.chromium.org/10824158/diff/4002/content/browser/renderer_host/render_widget_host_view_win.cc File content/browser/renderer_host/render_widget_host_view_win.cc (right): http://codereview.chromium.org/10824158/diff/4002/content/browser/renderer_host/render_widget_host_view_win.cc#newcode431 content/browser/renderer_host/render_widget_host_view_win.cc:431: data().deltaX = details.scale(); I think you need to set ...
8 years, 4 months ago (2012-08-03 01:50:33 UTC) #2
sadrul
LGTM with the comments addressed
8 years, 4 months ago (2012-08-03 01:54:28 UTC) #3
Rick Byers
Thanks Sadrul. +sky for OWNERS in content/browser http://codereview.chromium.org/10824158/diff/4002/content/browser/renderer_host/render_widget_host_view_win.cc File content/browser/renderer_host/render_widget_host_view_win.cc (right): http://codereview.chromium.org/10824158/diff/4002/content/browser/renderer_host/render_widget_host_view_win.cc#newcode431 content/browser/renderer_host/render_widget_host_view_win.cc:431: data().deltaX = ...
8 years, 4 months ago (2012-08-03 14:51:53 UTC) #4
sky
LGTM
8 years, 4 months ago (2012-08-03 17:22:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rbyers@chromium.org/10824158/8002
8 years, 4 months ago (2012-08-03 19:37:21 UTC) #6
commit-bot: I haz the power
8 years, 4 months ago (2012-08-03 21:53:38 UTC) #7
Change committed as 149935

Powered by Google App Engine
This is Rietveld 408576698