| Index: Source/core/animation/ActiveAnimations.h
|
| diff --git a/Source/core/animation/ActiveAnimations.h b/Source/core/animation/ActiveAnimations.h
|
| index 58d4287950208736e5283db10df02fb113d18fca..ad52462c67958f5ed3dcd4c19238018fb335efe9 100644
|
| --- a/Source/core/animation/ActiveAnimations.h
|
| +++ b/Source/core/animation/ActiveAnimations.h
|
| @@ -40,6 +40,12 @@
|
|
|
| namespace WebCore {
|
|
|
| +class RenderObject;
|
| +class Element;
|
| +
|
| +bool isRunningAnimation(const RenderObject&, CSSPropertyID = CSSPropertyInvalid);
|
| +bool isRunningCompositorAnimation(const RenderObject&, CSSPropertyID = CSSPropertyInvalid);
|
| +
|
| class ActiveAnimations {
|
| public:
|
| // Animations that are currently active for this element, their effects will be applied
|
| @@ -56,6 +62,12 @@ public:
|
| PlayerSet& players() { return m_players; }
|
|
|
| bool isEmpty() const { return m_defaultStack.isEmpty() && m_cssAnimations.isEmpty(); }
|
| +
|
| + bool hasCandidateForCompositorAnimation() const;
|
| + bool isRunningAnimation(CSSPropertyID) const;
|
| + bool isRunningCompositorAnimation(const Element*, CSSPropertyID) const;
|
| + void cancelCompositorAnimations();
|
| +
|
| private:
|
| AnimationStack m_defaultStack;
|
| CSSAnimations m_cssAnimations;
|
|
|