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