This source file includes following definitions.
- elapsedTime
- m_elapsedTime
- m_elapsedTime
- animationName
- elapsedTime
- interfaceName
- trace
#include "config.h"
#include "core/events/WebKitAnimationEvent.h"
namespace WebCore {
WebKitAnimationEventInit::WebKitAnimationEventInit()
: animationName()
, elapsedTime(0.0)
{
}
WebKitAnimationEvent::WebKitAnimationEvent()
: m_elapsedTime(0.0)
{
ScriptWrappable::init(this);
}
WebKitAnimationEvent::WebKitAnimationEvent(const AtomicString& type, const WebKitAnimationEventInit& initializer)
: Event(type, initializer)
, m_animationName(initializer.animationName)
, m_elapsedTime(initializer.elapsedTime)
{
ScriptWrappable::init(this);
}
WebKitAnimationEvent::WebKitAnimationEvent(const AtomicString& type, const String& animationName, double elapsedTime)
: Event(type, true, true)
, m_animationName(animationName)
, m_elapsedTime(elapsedTime)
{
ScriptWrappable::init(this);
}
WebKitAnimationEvent::~WebKitAnimationEvent()
{
}
const String& WebKitAnimationEvent::animationName() const
{
return m_animationName;
}
double WebKitAnimationEvent::elapsedTime() const
{
return m_elapsedTime;
}
const AtomicString& WebKitAnimationEvent::interfaceName() const
{
return EventNames::WebKitAnimationEvent;
}
void WebKitAnimationEvent::trace(Visitor* visitor)
{
Event::trace(visitor);
}
}