Index: cc/trees/layer_tree_host_impl.h |
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h |
index e4fb0882c1fe48518c3418f909f14ae0d7771e1a..4f78ce739e84a725e3bc2fe62c5923e064c15efc 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -276,7 +276,8 @@ class CC_EXPORT LayerTreeHostImpl |
// Shortcuts to layers on the active tree. |
LayerImpl* RootLayer() const; |
- LayerImpl* RootScrollLayer() const; |
+ LayerImpl* InnerViewportScrollLayer() const; |
+ LayerImpl* OuterViewportScrollLayer() const; |
LayerImpl* CurrentlyScrollingLayer() const; |
int scroll_layer_id_when_mouse_over_scrollbar() { |
@@ -463,6 +464,7 @@ class CC_EXPORT LayerTreeHostImpl |
void ReleaseTreeResources(); |
void EnforceZeroBudget(bool zero_budget); |
+ void ScrollViewportBy(gfx::Vector2dF scroll_delta); |
void AnimatePageScale(base::TimeTicks monotonic_time); |
void AnimateScrollbars(base::TimeTicks monotonic_time); |
void AnimateTopControls(base::TimeTicks monotonic_time); |
@@ -473,7 +475,6 @@ class CC_EXPORT LayerTreeHostImpl |
const gfx::PointF& viewport_point, |
gfx::Vector2dF viewport_delta); |
- void UpdateMaxScrollOffset(); |
void TrackDamageForAllSurfaces( |
LayerImpl* root_draw_layer, |
const LayerImplList& render_surface_layer_list); |