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

Issue 349463002: [Android] Map raw touch coordinates to global gesture locations (Closed)

Created:
6 years, 6 months ago by jdduke (slow)
Modified:
6 years, 6 months ago
Reviewers:
tdresser
CC:
chromium-reviews, jam, tdresser+watch_chromium.org, jdduke+watch_chromium.org, darin-cc_chromium.org, Rick Byers
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Android] Map raw touch coordinates to global gesture locations With r277082, raw touch locations are now exposed to the gesture detector. Plumb these raw locations into the generated gesture events, in turn populating the WebGestureEvent.global{X,Y} properties. BUG=383690 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278672

Patch Set 1 #

Total comments: 4

Patch Set 2 : Code review and compilation fix #

Patch Set 3 : Fix win compilation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -108 lines) Patch
M content/browser/renderer_host/input/web_input_event_util.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/gesture_event_data.h View 1 2 chunks +6 lines, -9 lines 0 comments Download
M ui/events/gesture_detection/gesture_event_data.cc View 1 2 1 chunk +20 lines, -19 lines 0 comments Download
M ui/events/gesture_detection/gesture_event_data_packet.h View 1 chunk +5 lines, -2 lines 0 comments Download
M ui/events/gesture_detection/gesture_event_data_packet.cc View 4 chunks +18 lines, -8 lines 0 comments Download
M ui/events/gesture_detection/gesture_provider.cc View 11 chunks +47 lines, -44 lines 0 comments Download
M ui/events/gesture_detection/gesture_provider_unittest.cc View 1 12 chunks +44 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/mock_motion_event.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/mock_motion_event.cc View 2 chunks +7 lines, -2 lines 0 comments Download
M ui/events/gesture_detection/motion_event.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter.cc View 5 chunks +12 lines, -22 lines 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc View 9 chunks +21 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jdduke (slow)
tdresser@: PTAL. This was a bit more wiring than I would have liked, but I ...
6 years, 6 months ago (2014-06-19 18:10:47 UTC) #1
tdresser
https://codereview.chromium.org/349463002/diff/1/content/browser/renderer_host/input/web_input_event_util.cc File content/browser/renderer_host/input/web_input_event_util.cc (right): https://codereview.chromium.org/349463002/diff/1/content/browser/renderer_host/input/web_input_event_util.cc#newcode242 content/browser/renderer_host/input/web_input_event_util.cc:242: gesture.globalY = data.raw_y; The ui::GestureEvent |root_location| should be passed ...
6 years, 6 months ago (2014-06-19 21:12:37 UTC) #2
tdresser
LGTM.
6 years, 6 months ago (2014-06-19 21:39:10 UTC) #3
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 6 months ago (2014-06-19 21:43:30 UTC) #4
jdduke (slow)
https://codereview.chromium.org/349463002/diff/1/content/browser/renderer_host/input/web_input_event_util.cc File content/browser/renderer_host/input/web_input_event_util.cc (right): https://codereview.chromium.org/349463002/diff/1/content/browser/renderer_host/input/web_input_event_util.cc#newcode242 content/browser/renderer_host/input/web_input_event_util.cc:242: gesture.globalY = data.raw_y; On 2014/06/19 21:12:37, tdresser wrote: > ...
6 years, 6 months ago (2014-06-19 21:43:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/349463002/20001
6 years, 6 months ago (2014-06-19 21:45:42 UTC) #6
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 6 months ago (2014-06-20 03:55:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/349463002/40001
6 years, 6 months ago (2014-06-20 03:55:50 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-20 11:19:51 UTC) #9
Message was sent while issue was closed.
Change committed as 278672

Powered by Google App Engine
This is Rietveld 408576698