diff options
Diffstat (limited to 'cc/trees/layer_tree_host_client.h')
-rw-r--r-- | cc/trees/layer_tree_host_client.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/cc/trees/layer_tree_host_client.h b/cc/trees/layer_tree_host_client.h index 5b02964..5846343 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; |