WebKitTransitionEvent.h [plain text]
#ifndef WebKitTransitionEvent_h
#define WebKitTransitionEvent_h
#include "Event.h"
namespace WebCore {
struct WebKitTransitionEventInit : public EventInit {
WebKitTransitionEventInit();
String propertyName;
double elapsedTime;
String pseudoElement;
};
class WebKitTransitionEvent : public Event {
public:
static PassRefPtr<WebKitTransitionEvent> create()
{
return adoptRef(new WebKitTransitionEvent);
}
static PassRefPtr<WebKitTransitionEvent> create(const AtomicString& type, const String& propertyName, double elapsedTime, const String& pseudoElement)
{
return adoptRef(new WebKitTransitionEvent(type, propertyName, elapsedTime, pseudoElement));
}
static PassRefPtr<WebKitTransitionEvent> create(const AtomicString& type, const WebKitTransitionEventInit& initializer)
{
return adoptRef(new WebKitTransitionEvent(type, initializer));
}
virtual ~WebKitTransitionEvent();
const String& propertyName() const;
double elapsedTime() const;
const String& pseudoElement() const;
virtual EventInterface eventInterface() const override;
private:
WebKitTransitionEvent();
WebKitTransitionEvent(const AtomicString& type, const String& propertyName, double elapsedTime, const String& pseudoElement);
WebKitTransitionEvent(const AtomicString& type, const WebKitTransitionEventInit& initializer);
String m_propertyName;
double m_elapsedTime;
String m_pseudoElement;
};
}
#endif // WebKitTransitionEvent_h