// 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,
+ virtual void DidOverscroll(const gfx::PointF& causal_event_viewport_point,
+ const gfx::Vector2dF& accumulated_overscroll,
const gfx::Vector2dF& latest_overscroll_delta) = 0;
protected:
virtual ScrollStatus ScrollBegin(const gfx::Point& viewport_point,
ScrollInputType type) = 0;
+ virtual ScrollStatus ScrollAnimated(const gfx::Point& viewport_point,
+ const gfx::Vector2dF& scroll_delta) = 0;
+
// Scroll the selected layer starting at the given position. If the scroll
// type given to ScrollBegin was a gesture, then the scroll point and delta
// should be in viewport (logical pixel) coordinates. Otherwise they are in