| Index: Source/core/animation/css/CSSAnimations.h
|
| diff --git a/Source/core/animation/css/CSSAnimations.h b/Source/core/animation/css/CSSAnimations.h
|
| index e228dce232848a6b13a811a30895f473e53b88c3..9ea25ac2279693b765aa30cc06efc3a19ac7fa11 100644
|
| --- a/Source/core/animation/css/CSSAnimations.h
|
| +++ b/Source/core/animation/css/CSSAnimations.h
|
| @@ -35,6 +35,7 @@
|
|
|
| #include "core/animation/Player.h"
|
| #include "core/css/StylePropertySet.h"
|
| +#include "core/dom/Document.h"
|
| #include "core/platform/animation/CSSAnimationData.h"
|
| #include "core/rendering/style/RenderStyleConstants.h"
|
| #include "wtf/HashMap.h"
|
| @@ -78,6 +79,19 @@ public:
|
| private:
|
| typedef HashMap<StringImpl*, Player*> AnimationMap;
|
| AnimationMap m_animations;
|
| + class EventDelegate FINAL : public TimedItemEventDelegate {
|
| + public:
|
| + EventDelegate(Element* target, const AtomicString& name)
|
| + : m_target(target)
|
| + , m_name(name)
|
| + {
|
| + }
|
| + virtual void onEventCondition(bool wasInPlay, bool isInPlay, double previousIteration, double currentIteration) OVERRIDE;
|
| + private:
|
| + void dispatch(Document::ListenerType, AtomicString& eventName, double elapsedTime);
|
| + Element* m_target;
|
| + const AtomicString m_name;
|
| + };
|
| };
|
|
|
| } // namespace WebCore
|
|
|