| Index: ui/compositor/layer.h
|
| diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
|
| index 5d997ae1e54623d9307dfc75617406dcd2e84027..64fc681e28e876e5dfbea6c23d81579c8dce7321 100644
|
| --- a/ui/compositor/layer.h
|
| +++ b/ui/compositor/layer.h
|
| @@ -34,6 +34,7 @@
|
| class SkCanvas;
|
|
|
| namespace cc {
|
| +class AnimationPlayer;
|
| class ContentLayer;
|
| class CopyOutputRequest;
|
| class DelegatedFrameProvider;
|
| @@ -420,6 +421,13 @@ class COMPOSITOR_EXPORT Layer
|
| // Creates a corresponding composited layer for |type_|.
|
| void CreateCcLayer();
|
|
|
| + // Attach/Detach CC Layer animation event observers and AnimationPlayer.
|
| + void AttachPlayerLayer();
|
| + void DetachPlayerLayer();
|
| +
|
| + void AttachAnimationPlayers(cc::AnimationTimeline* timeline);
|
| + void DetachAnimationPlayers(cc::AnimationTimeline* timeline);
|
| +
|
| // Recomputes and sets to |cc_layer_|.
|
| void RecomputeDrawsContentAndUVRect();
|
| void RecomputePosition();
|
| @@ -502,6 +510,7 @@ class COMPOSITOR_EXPORT Layer
|
| LayerOwner* owner_;
|
|
|
| scoped_refptr<LayerAnimator> animator_;
|
| + scoped_refptr<cc::AnimationPlayer> animation_player_;
|
|
|
| // Animations that are passed to AddThreadedAnimation before this layer is
|
| // added to a tree.
|
|
|