Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Unified Diff: Source/core/animation/ActiveAnimations.h

Issue 21012002: Web Animations: Trigger and update CSS Animations backed by the Web Animations model (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Recompute and apply updates to active animations after style resolution. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/animation/AnimationStack.h » ('j') | Source/core/animation/css/CSSAnimations.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | Source/core/animation/AnimationStack.h » ('j') | Source/core/animation/css/CSSAnimations.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698