Store the id of a contributing motion event in GestureEventData
commita960d5c317c4f8b4fbdb0e9f832a24c62313b2ec
authortdresser@chromium.org <tdresser@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 4 Apr 2014 18:51:51 +0000 (4 18:51 +0000)
committertdresser@chromium.org <tdresser@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 4 Apr 2014 18:51:51 +0000 (4 18:51 +0000)
treecbdd79aae34c8886b7b889ca30820bfe2b300187
parent143791f3767cb0c7007d2e517400c9ed2d9eb7c4
Store the id of a contributing motion event in GestureEventData

The unified GR needs to be able to construct ui::GestureEvents from
GestureEventData objects. Currently no information on
contributing touch ids is available in GestureEventData.

This information is used for figuring out which window to target
a gesture to - the gesture is targeted to the window which the
contributing touch is locked to.

BUG=332418

Review URL: https://codereview.chromium.org/212663010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261808 0039d316-1c4b-4281-b951-d872f2087c98
17 files changed:
content/browser/renderer_host/input/motion_event_android.cc
content/browser/renderer_host/input/motion_event_android.h
content/browser/renderer_host/input/motion_event_web.cc
content/browser/renderer_host/input/motion_event_web.h
ui/events/gesture_detection/gesture_event_data.cc
ui/events/gesture_detection/gesture_event_data.h
ui/events/gesture_detection/gesture_provider.cc
ui/events/gesture_detection/gesture_provider.h
ui/events/gesture_detection/gesture_provider_unittest.cc
ui/events/gesture_detection/mock_motion_event.cc
ui/events/gesture_detection/mock_motion_event.h
ui/events/gesture_detection/motion_event.h
ui/events/gesture_detection/scale_gesture_detector.cc
ui/events/gesture_detection/scale_gesture_detector.h
ui/events/gesture_detection/touch_disposition_gesture_filter.cc
ui/events/gesture_detection/touch_disposition_gesture_filter.h
ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc