Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / cc / input / input_handler.h
index 7f35dda..880c208 100644 (file)
@@ -35,7 +35,8 @@ class CC_EXPORT InputHandlerClient {
   // 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:
@@ -76,6 +77,9 @@ class CC_EXPORT InputHandler {
   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