Add modifier flags to MotionEvent
commit36f186d9260f10ab4b134987d369d0dd93f298ff
authorjdduke <jdduke@chromium.org>
Fri, 12 Sep 2014 23:36:50 +0000 (12 16:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 12 Sep 2014 23:51:11 +0000 (12 23:51 +0000)
tree33fe8f0d7b6b019e710b8db8f0bdc2d32d264cee
parentc35fc9c4a92282824b650d9300b6d34fd9ec93b7
Add modifier flags to MotionEvent

Allow event modifier flags to propagate through the touch and/or
gestures derived from a MotionEvent. This allows, for example,
ctrl + tap to mimic ctrl + click. Note that, previously, Aura routed
these modifier flags separately, and Android failed to route them at
all.

BUG=398439,413335

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

Cr-Commit-Position: refs/heads/master@{#294695}
30 files changed:
content/browser/android/content_view_core_impl.cc
content/browser/android/content_view_core_impl.h
content/browser/renderer_host/input/gesture_text_selector_unittest.cc
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_android_unittest.cc
content/browser/renderer_host/input/motion_event_web.cc
content/browser/renderer_host/input/motion_event_web.h
content/browser/renderer_host/input/web_input_event_util.cc
content/browser/renderer_host/input/web_input_event_util.h
content/browser/renderer_host/ui_events_helper.cc
content/browser/renderer_host/web_input_event_aura.cc
content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
ui/events/gesture_detection/gesture_event_data.cc
ui/events/gesture_detection/gesture_event_data.h
ui/events/gesture_detection/gesture_event_data_packet_unittest.cc
ui/events/gesture_detection/gesture_provider.cc
ui/events/gesture_detection/gesture_provider_unittest.cc
ui/events/gesture_detection/motion_event.h
ui/events/gesture_detection/motion_event_buffer.cc
ui/events/gesture_detection/motion_event_generic.cc
ui/events/gesture_detection/motion_event_generic.h
ui/events/gesture_detection/motion_event_generic_unittest.cc
ui/events/gesture_detection/touch_disposition_gesture_filter.cc
ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc
ui/events/gestures/gesture_provider_aura.cc
ui/events/gestures/gesture_provider_aura.h
ui/events/gestures/motion_event_aura.cc
ui/events/gestures/motion_event_aura.h
ui/events/gestures/motion_event_aura_unittest.cc