| Index: cc/input/input_handler.h
|
| diff --git a/cc/input/input_handler.h b/cc/input/input_handler.h
|
| index b26934548b9454e1252a80a30f0af39252f6b5f3..fda17cdeee35f6fb8560104a42f2556a94b21b13 100644
|
| --- a/cc/input/input_handler.h
|
| +++ b/cc/input/input_handler.h
|
| @@ -24,6 +24,12 @@
|
|
|
| class LayerScrollOffsetDelegate;
|
|
|
| +struct DidOverscrollParams {
|
| + gfx::Vector2dF accumulated_overscroll;
|
| + gfx::Vector2dF latest_overscroll_delta;
|
| + gfx::Vector2dF current_fling_velocity;
|
| +};
|
| +
|
| class CC_EXPORT InputHandlerClient {
|
| public:
|
| virtual ~InputHandlerClient() {}
|
| @@ -35,8 +41,7 @@
|
| // Called when scroll deltas reaching the root scrolling layer go unused.
|
| // The accumulated overscroll is scoped by the most recent call to
|
| // InputHandler::ScrollBegin.
|
| - virtual void DidOverscroll(const gfx::Vector2dF& accumulated_overscroll,
|
| - const gfx::Vector2dF& latest_overscroll_delta) = 0;
|
| + virtual void DidOverscroll(const DidOverscrollParams& params) = 0;
|
|
|
| protected:
|
| InputHandlerClient() {}
|
| @@ -89,6 +94,8 @@
|
| // ScrollIgnored if not.
|
| virtual ScrollStatus FlingScrollBegin() = 0;
|
|
|
| + virtual void NotifyCurrentFlingVelocity(const gfx::Vector2dF& velocity) = 0;
|
| +
|
| virtual void MouseMoveAt(const gfx::Point& mouse_position) = 0;
|
|
|
| // Stop scrolling the selected layer. Should only be called if ScrollBegin()
|
|
|