| Index: sky/engine/core/events/AnimationEvent.h
|
| diff --git a/sky/engine/core/events/WebKitAnimationEvent.h b/sky/engine/core/events/AnimationEvent.h
|
| similarity index 66%
|
| rename from sky/engine/core/events/WebKitAnimationEvent.h
|
| rename to sky/engine/core/events/AnimationEvent.h
|
| index f4406d9ad8f7cdb31a118742fb2a94ec3dd76c20..94e650c0ca24cff525122dd991542b6b65f8a665 100644
|
| --- a/sky/engine/core/events/WebKitAnimationEvent.h
|
| +++ b/sky/engine/core/events/AnimationEvent.h
|
| @@ -23,8 +23,8 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebKitAnimationEvent_h
|
| -#define WebKitAnimationEvent_h
|
| +#ifndef AnimationEvent_h
|
| +#define AnimationEvent_h
|
|
|
| #include "core/events/Event.h"
|
|
|
| @@ -33,30 +33,30 @@ namespace blink {
|
| // FIXME : This class has a WebKit prefix on purpose so we can use the EventAliases system. When the
|
| // runtime flag of unprefixed animation will be removed we can rename that class and do the same as
|
| // the CSS Transitions.
|
| -struct WebKitAnimationEventInit : public EventInit {
|
| - WebKitAnimationEventInit();
|
| +struct AnimationEventInit : public EventInit {
|
| + AnimationEventInit();
|
|
|
| String animationName;
|
| double elapsedTime;
|
| };
|
|
|
| -class WebKitAnimationEvent FINAL : public Event {
|
| +class AnimationEvent FINAL : public Event {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static PassRefPtrWillBeRawPtr<WebKitAnimationEvent> create()
|
| + static PassRefPtrWillBeRawPtr<AnimationEvent> create()
|
| {
|
| - return adoptRefWillBeNoop(new WebKitAnimationEvent);
|
| + return adoptRefWillBeNoop(new AnimationEvent);
|
| }
|
| - static PassRefPtrWillBeRawPtr<WebKitAnimationEvent> create(const AtomicString& type, const String& animationName, double elapsedTime)
|
| + static PassRefPtrWillBeRawPtr<AnimationEvent> create(const AtomicString& type, const String& animationName, double elapsedTime)
|
| {
|
| - return adoptRefWillBeNoop(new WebKitAnimationEvent(type, animationName, elapsedTime));
|
| + return adoptRefWillBeNoop(new AnimationEvent(type, animationName, elapsedTime));
|
| }
|
| - static PassRefPtrWillBeRawPtr<WebKitAnimationEvent> create(const AtomicString& type, const WebKitAnimationEventInit& initializer)
|
| + static PassRefPtrWillBeRawPtr<AnimationEvent> create(const AtomicString& type, const AnimationEventInit& initializer)
|
| {
|
| - return adoptRefWillBeNoop(new WebKitAnimationEvent(type, initializer));
|
| + return adoptRefWillBeNoop(new AnimationEvent(type, initializer));
|
| }
|
|
|
| - virtual ~WebKitAnimationEvent();
|
| + virtual ~AnimationEvent();
|
|
|
| const String& animationName() const;
|
| double elapsedTime() const;
|
| @@ -66,9 +66,9 @@ public:
|
| virtual void trace(Visitor*) OVERRIDE;
|
|
|
| private:
|
| - WebKitAnimationEvent();
|
| - WebKitAnimationEvent(const AtomicString& type, const String& animationName, double elapsedTime);
|
| - WebKitAnimationEvent(const AtomicString&, const WebKitAnimationEventInit&);
|
| + AnimationEvent();
|
| + AnimationEvent(const AtomicString& type, const String& animationName, double elapsedTime);
|
| + AnimationEvent(const AtomicString&, const AnimationEventInit&);
|
|
|
| String m_animationName;
|
| double m_elapsedTime;
|
| @@ -76,4 +76,4 @@ private:
|
|
|
| } // namespace blink
|
|
|
| -#endif // WebKitAnimationEvent_h
|
| +#endif // AnimationEvent_h
|
|
|