| Index: sky/engine/core/events/AnimationEvent.cpp
|
| diff --git a/sky/engine/core/events/WebKitAnimationEvent.cpp b/sky/engine/core/events/AnimationEvent.cpp
|
| similarity index 73%
|
| rename from sky/engine/core/events/WebKitAnimationEvent.cpp
|
| rename to sky/engine/core/events/AnimationEvent.cpp
|
| index 77a9a97ba3fc90d5746e45485f73f1486efcd0dc..109e2b0e346749b49989b56e0c4a3e0c2677240b 100644
|
| --- a/sky/engine/core/events/WebKitAnimationEvent.cpp
|
| +++ b/sky/engine/core/events/AnimationEvent.cpp
|
| @@ -24,23 +24,23 @@
|
| */
|
|
|
| #include "config.h"
|
| -#include "core/events/WebKitAnimationEvent.h"
|
| +#include "core/events/AnimationEvent.h"
|
|
|
| namespace blink {
|
|
|
| -WebKitAnimationEventInit::WebKitAnimationEventInit()
|
| +AnimationEventInit::AnimationEventInit()
|
| : animationName()
|
| , elapsedTime(0.0)
|
| {
|
| }
|
|
|
| -WebKitAnimationEvent::WebKitAnimationEvent()
|
| +AnimationEvent::AnimationEvent()
|
| : m_elapsedTime(0.0)
|
| {
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -WebKitAnimationEvent::WebKitAnimationEvent(const AtomicString& type, const WebKitAnimationEventInit& initializer)
|
| +AnimationEvent::AnimationEvent(const AtomicString& type, const AnimationEventInit& initializer)
|
| : Event(type, initializer)
|
| , m_animationName(initializer.animationName)
|
| , m_elapsedTime(initializer.elapsedTime)
|
| @@ -48,7 +48,7 @@ WebKitAnimationEvent::WebKitAnimationEvent(const AtomicString& type, const WebKi
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -WebKitAnimationEvent::WebKitAnimationEvent(const AtomicString& type, const String& animationName, double elapsedTime)
|
| +AnimationEvent::AnimationEvent(const AtomicString& type, const String& animationName, double elapsedTime)
|
| : Event(type, true, true)
|
| , m_animationName(animationName)
|
| , m_elapsedTime(elapsedTime)
|
| @@ -56,26 +56,26 @@ WebKitAnimationEvent::WebKitAnimationEvent(const AtomicString& type, const Strin
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -WebKitAnimationEvent::~WebKitAnimationEvent()
|
| +AnimationEvent::~AnimationEvent()
|
| {
|
| }
|
|
|
| -const String& WebKitAnimationEvent::animationName() const
|
| +const String& AnimationEvent::animationName() const
|
| {
|
| return m_animationName;
|
| }
|
|
|
| -double WebKitAnimationEvent::elapsedTime() const
|
| +double AnimationEvent::elapsedTime() const
|
| {
|
| return m_elapsedTime;
|
| }
|
|
|
| -const AtomicString& WebKitAnimationEvent::interfaceName() const
|
| +const AtomicString& AnimationEvent::interfaceName() const
|
| {
|
| - return EventNames::WebKitAnimationEvent;
|
| + return EventNames::AnimationEvent;
|
| }
|
|
|
| -void WebKitAnimationEvent::trace(Visitor* visitor)
|
| +void AnimationEvent::trace(Visitor* visitor)
|
| {
|
| Event::trace(visitor);
|
| }
|
|
|