Make the ContentGestureProvider a ui::FilteredGestureProvider
commitbf139923757d1c7b42f55839f18adc52ffc5932a
authorjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 6 Mar 2014 01:07:36 +0000 (6 01:07 +0000)
committerjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 6 Mar 2014 01:07:36 +0000 (6 01:07 +0000)
treed3f64a99e1cf1a84cea1d067467ca761f44abaa0
parentcd50d86f769ca5f637bf8a1692f6b752ef7b84f0
Make the ContentGestureProvider a ui::FilteredGestureProvider

Move the ContentGestureProvider to ui/, allowing the filtering and gesture
batching code to be used outside of content/.  Also eliminate
TouchDispositionGestureFilter's dependency on a custom ack result type,
instead simply using a bool to indicate whether or not the ack'ed touch was
consumed.

BUG=348588

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255190 0039d316-1c4b-4281-b951-d872f2087c98
15 files changed:
content/browser/android/content_view_core_impl.cc
content/browser/android/content_view_core_impl.h
content/browser/renderer_host/input/content_gesture_provider.cc [deleted file]
content/browser/renderer_host/input/content_gesture_provider.h [deleted file]
content/browser/renderer_host/input/touch_event_queue.cc
content/browser/renderer_host/input/touch_event_queue_unittest.cc
content/browser/renderer_host/input/web_input_event_util.cc
content/browser/renderer_host/input/web_input_event_util.h
content/content_browser.gypi
ui/events/events.gyp
ui/events/gesture_detection/filtered_gesture_provider.cc [new file with mode: 0644]
ui/events/gesture_detection/filtered_gesture_provider.h [new file with mode: 0644]
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