X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcc%2Ftrees%2Flayer_tree_impl.h;h=03445513cf4a113b548a47bef206d8d2e8f284d4;hb=f5180d0a4dfe13ef74567dc9aa75047c1a9cd6de;hp=e1b2335a8f9d81504a3c34e6585b5358a44e8b90;hpb=669bbc0a54393464248e6bac22558cda42a9a350;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/cc/trees/layer_tree_impl.h b/src/cc/trees/layer_tree_impl.h index e1b2335..0344551 100644 --- a/src/cc/trees/layer_tree_impl.h +++ b/src/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,12 @@ 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 TakePageScaleAnimation(); + protected: explicit LayerTreeImpl(LayerTreeHostImpl* layer_tree_host_impl); void ReleaseResourcesRecursive(LayerImpl* current); @@ -392,6 +399,8 @@ class CC_EXPORT LayerTreeImpl { float top_controls_delta_; float sent_top_controls_delta_; + scoped_ptr page_scale_animation_; + private: DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); };