| Index: cc/trees/layer_tree_impl.h
|
| diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
|
| index 6e5994bb5452cbb3d54381c715cc843dcb53e55f..95a9bac0b9f472372f736c5b9ad13032ab374168 100644
|
| --- a/cc/trees/layer_tree_impl.h
|
| +++ b/cc/trees/layer_tree_impl.h
|
| @@ -48,6 +48,7 @@ class LayerTreeImpl;
|
| class LayerTreeSettings;
|
| class MemoryHistory;
|
| class OutputSurface;
|
| +class PageScaleAnimation;
|
| class PaintTimeCounter;
|
| class PictureLayerImpl;
|
| class Proxy;
|
| @@ -321,6 +322,13 @@ class CC_EXPORT LayerTreeImpl {
|
| return top_controls_content_offset_ + top_controls_delta_;
|
| }
|
|
|
| + void SetPageScaleAnimation(
|
| + const gfx::Vector2d& target_offset,
|
| + bool anchor_point,
|
| + float page_scale,
|
| + base::TimeDelta duration);
|
| + scoped_ptr<PageScaleAnimation> TakePageScaleAnimation();
|
| +
|
| protected:
|
| explicit LayerTreeImpl(LayerTreeHostImpl* layer_tree_host_impl);
|
| void ReleaseResourcesRecursive(LayerImpl* current);
|
| @@ -392,6 +400,8 @@ class CC_EXPORT LayerTreeImpl {
|
| float top_controls_delta_;
|
| float sent_top_controls_delta_;
|
|
|
| + scoped_ptr<PageScaleAnimation> page_scale_animation_;
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
|
| };
|
|
|