WebKitAnimationEvent.h [plain text]
#ifndef WebKitAnimationEvent_h
#define WebKitAnimationEvent_h
#include "Event.h"
namespace WebCore {
class WebKitAnimationEvent : public Event {
public:
WebKitAnimationEvent();
WebKitAnimationEvent(const AtomicString& type, const String& animationName, double elapsedTime);
virtual ~WebKitAnimationEvent();
void initWebKitAnimationEvent(const AtomicString& type,
bool canBubbleArg,
bool cancelableArg,
const String& animationName,
double elapsedTime);
const String& animationName() const;
double elapsedTime() const;
virtual bool isWebKitAnimationEvent() const { return true; }
private:
String m_animationName;
double m_elapsedTime;
};
}
#endif // WebKitAnimationEvent_h