Index: cc/trees/layer_tree_host_client.h |
diff --git a/cc/trees/layer_tree_host_client.h b/cc/trees/layer_tree_host_client.h |
index 5b02964e89f019c9f45798e7297c8b6380171dcf..5846343cef59e1501b4b36f3c08f239b2f1ecf01 100644 |
--- a/cc/trees/layer_tree_host_client.h |
+++ b/cc/trees/layer_tree_host_client.h |
@@ -11,6 +11,7 @@ |
namespace gfx { |
class Vector2d; |
+class Vector2dF; |
} |
namespace cc { |
@@ -27,10 +28,12 @@ class LayerTreeHostClient { |
virtual void BeginMainFrame(const BeginFrameArgs& args) = 0; |
virtual void DidBeginMainFrame() = 0; |
virtual void Layout() = 0; |
- virtual void ApplyViewportDeltas(const gfx::Vector2d& inner_delta, |
- const gfx::Vector2d& outer_delta, |
- float page_scale, |
- float top_controls_delta) = 0; |
+ virtual void ApplyViewportDeltas( |
+ const gfx::Vector2d& inner_delta, |
+ const gfx::Vector2d& outer_delta, |
+ const gfx::Vector2dF& elastic_overscroll_delta, |
+ float page_scale, |
+ float top_controls_delta) = 0; |
virtual void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta, |
float page_scale, |
float top_controls_delta) = 0; |