Consolidate content fling implementations
commit1d6fc87072bd9f8ea7908cb5af19d7ef6cd0e18c
authorjdduke <jdduke@chromium.org>
Fri, 10 Oct 2014 18:00:18 +0000 (10 11:00 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 10 Oct 2014 18:00:37 +0000 (10 18:00 +0000)
tree0f62f5a9f499e5926e764d4495bda2331fbb66d2
parentbee8d3d4e4b4c2f22b15f3a598a38a6b2c7c5fe2
Consolidate content fling implementations

Provide a single implementation of WebGestureCurve, instead relying on
platform-specific ui::GestureCurve implementations for core
functionality. This eliminates the duplicated curve code used for
content and view-targetted flings on Aura.

BUG=420214

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

Cr-Commit-Position: refs/heads/master@{#299136}
25 files changed:
athena/wm/window_overview_mode.cc
content/child/OWNERS
content/child/blink_platform_impl.cc
content/child/fling_animator_impl_android.cc [deleted file]
content/child/fling_animator_impl_android.h [deleted file]
content/child/touch_fling_gesture_curve.cc [deleted file]
content/child/touch_fling_gesture_curve.h [deleted file]
content/child/web_gesture_curve_impl.cc [new file with mode: 0644]
content/child/web_gesture_curve_impl.h [new file with mode: 0644]
content/child/web_gesture_curve_impl_unittest.cc [moved from content/child/touch_fling_gesture_curve_unittest.cc with 55% similarity]
content/content_child.gypi
content/content_tests.gypi
ui/events/BUILD.gn
ui/events/android/OWNERS [new file with mode: 0644]
ui/events/android/scroller.cc [moved from ui/gfx/android/scroller.cc with 86% similarity]
ui/events/android/scroller.h [moved from ui/gfx/android/scroller.h with 85% similarity]
ui/events/android/scroller_unittest.cc [moved from ui/gfx/android/scroller_unittest.cc with 58% similarity]
ui/events/events.gyp
ui/events/gesture_curve.h [new file with mode: 0644]
ui/events/gestures/fling_curve.cc
ui/events/gestures/fling_curve.h
ui/events/gestures/fling_curve_unittest.cc
ui/gfx/BUILD.gn
ui/gfx/gfx.gyp
ui/gfx/gfx_tests.gyp