Index: cc/trees/layer_tree_host.h |
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h |
index 76dc680dc908d7dcbc6cd28b2168a916035ba932..c33608b70f369b7d06a31deafb4cf780a7ec971e 100644 |
--- a/cc/trees/layer_tree_host.h |
+++ b/cc/trees/layer_tree_host.h |
@@ -195,6 +195,12 @@ class CC_EXPORT LayerTreeHost { |
scoped_refptr<Layer> page_scale_layer, |
scoped_refptr<Layer> inner_viewport_scroll_layer, |
scoped_refptr<Layer> outer_viewport_scroll_layer); |
+ Layer* inner_viewport_scroll_layer() const { |
+ return inner_viewport_scroll_layer_.get(); |
+ } |
+ Layer* outer_viewport_scroll_layer() const { |
+ return outer_viewport_scroll_layer_.get(); |
+ } |
const LayerTreeSettings& settings() const { return settings_; } |
@@ -235,6 +241,8 @@ class CC_EXPORT LayerTreeHost { |
base::TimeDelta duration); |
void ApplyScrollAndScale(const ScrollAndScaleSet& info); |
+ gfx::Vector2d DistributeScrollOffsetToViewports(const gfx::Vector2d offset, |
+ Layer* layer); |
void SetImplTransform(const gfx::Transform& transform); |