Chromium Code Reviews| Index: Source/core/animation/ActiveAnimations.h |
| diff --git a/Source/core/animation/ActiveAnimations.h b/Source/core/animation/ActiveAnimations.h |
| index e4c748c8d98df13815d05a1a3d262eab0653d5f4..0e9bde17e161c0e21558fb9832e7122a7ffec709 100644 |
| --- a/Source/core/animation/ActiveAnimations.h |
| +++ b/Source/core/animation/ActiveAnimations.h |
| @@ -32,22 +32,22 @@ |
| #define ActiveAnimations_h |
| #include "core/animation/AnimationStack.h" |
| +#include "core/animation/css/CSSAnimations.h" |
| #include "wtf/HashMap.h" |
| #include "wtf/RefPtr.h" |
| #include "wtf/Vector.h" |
| namespace WebCore { |
| -class AnimationStack; |
| - |
| class ActiveAnimations { |
| public: |
| AnimationStack* defaultStack() { return &m_defaultStack; } |
| - bool isEmpty() const { return !m_defaultStack.hasActiveAnimations(); } |
| + CSSAnimations* cssAnimations() { return &m_cssAnimations; } |
|
shans
2013/08/01 23:54:16
Add a comment describing what goes in defaultStack
dstockwell
2013/08/02 00:11:01
Done.
|
| + bool isEmpty() const { return m_defaultStack.isEmpty() && m_cssAnimations.isEmpty(); } |
| private: |
| AnimationStack m_defaultStack; |
| + CSSAnimations m_cssAnimations; |
| // FIXME: Add AnimationStack for CSS Transitions |
| - // FIXME: Add tracking data for CSS Animations |
| }; |
| } // namespace WebCore |