| Index: third_party/WebKit/Source/platform/animation/CompositorAnimationPlayer.h
|
| diff --git a/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayer.h b/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayer.h
|
| index 62d63d256f7118e5f483ef041eace0f10461e64a..06a779028a92ff975da5beeddc93091ee6af90f1 100644
|
| --- a/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayer.h
|
| +++ b/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayer.h
|
| @@ -11,6 +11,7 @@
|
| #include "cc/animation/animation_delegate.h"
|
| #include "cc/animation/animation_player.h"
|
| #include "platform/PlatformExport.h"
|
| +#include "platform/graphics/CompositorElementId.h"
|
| #include "wtf/Noncopyable.h"
|
|
|
| #include <memory>
|
| @@ -36,14 +37,14 @@ public:
|
| // deleting the delegate.
|
| void setAnimationDelegate(CompositorAnimationDelegate*);
|
|
|
| - void attachLayer(WebLayer*);
|
| - void detachLayer();
|
| - bool isLayerAttached() const;
|
| + void attachElement(const CompositorElementId&);
|
| + void detachElement();
|
| + bool isElementAttached() const;
|
|
|
| void addAnimation(CompositorAnimation*);
|
| - void removeAnimation(int animationId);
|
| - void pauseAnimation(int animationId, double timeOffset);
|
| - void abortAnimation(int animationId);
|
| + void removeAnimation(uint64_t animationId);
|
| + void pauseAnimation(uint64_t animationId, double timeOffset);
|
| + void abortAnimation(uint64_t animationId);
|
|
|
| private:
|
| // cc::AnimationDelegate implementation.
|
|
|