athena: Add support for fling-scroll in overview mode.
commit4aeb08043ad5bc67fa44cfd06989f17d523c29a2
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 6 Aug 2014 16:38:37 +0000 (6 16:38 +0000)
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 6 Aug 2014 16:38:37 +0000 (6 16:38 +0000)
treee94a36314af311af22700acf057f16bbbf978e91
parentc31d8046b700f3ce522717c8a9aba40378646c77
athena: Add support for fling-scroll in overview mode.

Install an animation-observer in the compositor when a fling happens, and use a
FlingCurve (which implements the same fling-curve used for fling-scrolling
web-pages) to progress the fling at each animation step in the compositor.

BUG=398117
R=mukai@chromium.org, sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287783 0039d316-1c4b-4281-b951-d872f2087c98
athena/athena.gyp
athena/wm/window_overview_mode.cc
ui/events/events.gyp
ui/events/gestures/fling_curve.cc [new file with mode: 0644]
ui/events/gestures/fling_curve.h [new file with mode: 0644]
ui/events/gestures/fling_curve_unittest.cc [new file with mode: 0644]