| Index: cc/layer_tree_impl.h
|
| diff --git a/cc/layer_tree_impl.h b/cc/layer_tree_impl.h
|
| index f96c2e557c35ffb4ed31d59e35fc56352d86b523..01caba4d5f1ad02c81a68b3441507e65ddf7ed9c 100644
|
| --- a/cc/layer_tree_impl.h
|
| +++ b/cc/layer_tree_impl.h
|
| @@ -31,6 +31,7 @@ class LayerTreeSettings;
|
| class OutputSurface;
|
| class PaintTimeCounter;
|
| class PinchZoomViewport;
|
| +class Proxy;
|
| class ResourceProvider;
|
| class TileManager;
|
|
|
| @@ -90,20 +91,15 @@ class CC_EXPORT LayerTreeImpl {
|
| hud_layer_ = layer_impl;
|
| }
|
|
|
| - LayerImpl* root_scroll_layer() { return root_scroll_layer_; }
|
| - const LayerImpl* root_scroll_layer() const { return root_scroll_layer_; }
|
| - void set_root_scroll_layer(LayerImpl* layer_impl) {
|
| - root_scroll_layer_ = layer_impl;
|
| + LayerImpl* RootScrollLayer();
|
| + LayerImpl* CurrentlyScrollingLayer();
|
| + void set_currently_scrolling_layer(LayerImpl* layer) {
|
| + currently_scrolling_layer_ = layer;
|
| }
|
|
|
| - LayerImpl* currently_scrolling_layer() { return currently_scrolling_layer_; }
|
| - void set_currently_scrolling_layer(LayerImpl* layer_impl) {
|
| - currently_scrolling_layer_ = layer_impl;
|
| - }
|
| -
|
| - void FindRootScrollLayer();
|
| void ClearCurrentlyScrollingLayer();
|
|
|
| + void FindRootScrollLayer();
|
| void UpdateMaxScrollOffset();
|
|
|
| SkColor background_color() const { return background_color_; }
|
|
|