Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(640)

Unified Diff: sky/engine/core/events/AnimationEvent.cpp

Issue 676923002: Remove the webkit prefix from idl properties and interfaces. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/events/AnimationEvent.h ('k') | sky/engine/core/events/AnimationEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/AnimationEvent.cpp
diff --git a/sky/engine/core/events/WebKitAnimationEvent.cpp b/sky/engine/core/events/AnimationEvent.cpp
similarity index 73%
rename from sky/engine/core/events/WebKitAnimationEvent.cpp
rename to sky/engine/core/events/AnimationEvent.cpp
index 77a9a97ba3fc90d5746e45485f73f1486efcd0dc..109e2b0e346749b49989b56e0c4a3e0c2677240b 100644
--- a/sky/engine/core/events/WebKitAnimationEvent.cpp
+++ b/sky/engine/core/events/AnimationEvent.cpp
@@ -24,23 +24,23 @@
*/
#include "config.h"
-#include "core/events/WebKitAnimationEvent.h"
+#include "core/events/AnimationEvent.h"
namespace blink {
-WebKitAnimationEventInit::WebKitAnimationEventInit()
+AnimationEventInit::AnimationEventInit()
: animationName()
, elapsedTime(0.0)
{
}
-WebKitAnimationEvent::WebKitAnimationEvent()
+AnimationEvent::AnimationEvent()
: m_elapsedTime(0.0)
{
ScriptWrappable::init(this);
}
-WebKitAnimationEvent::WebKitAnimationEvent(const AtomicString& type, const WebKitAnimationEventInit& initializer)
+AnimationEvent::AnimationEvent(const AtomicString& type, const AnimationEventInit& initializer)
: Event(type, initializer)
, m_animationName(initializer.animationName)
, m_elapsedTime(initializer.elapsedTime)
@@ -48,7 +48,7 @@ WebKitAnimationEvent::WebKitAnimationEvent(const AtomicString& type, const WebKi
ScriptWrappable::init(this);
}
-WebKitAnimationEvent::WebKitAnimationEvent(const AtomicString& type, const String& animationName, double elapsedTime)
+AnimationEvent::AnimationEvent(const AtomicString& type, const String& animationName, double elapsedTime)
: Event(type, true, true)
, m_animationName(animationName)
, m_elapsedTime(elapsedTime)
@@ -56,26 +56,26 @@ WebKitAnimationEvent::WebKitAnimationEvent(const AtomicString& type, const Strin
ScriptWrappable::init(this);
}
-WebKitAnimationEvent::~WebKitAnimationEvent()
+AnimationEvent::~AnimationEvent()
{
}
-const String& WebKitAnimationEvent::animationName() const
+const String& AnimationEvent::animationName() const
{
return m_animationName;
}
-double WebKitAnimationEvent::elapsedTime() const
+double AnimationEvent::elapsedTime() const
{
return m_elapsedTime;
}
-const AtomicString& WebKitAnimationEvent::interfaceName() const
+const AtomicString& AnimationEvent::interfaceName() const
{
- return EventNames::WebKitAnimationEvent;
+ return EventNames::AnimationEvent;
}
-void WebKitAnimationEvent::trace(Visitor* visitor)
+void AnimationEvent::trace(Visitor* visitor)
{
Event::trace(visitor);
}
« no previous file with comments | « sky/engine/core/events/AnimationEvent.h ('k') | sky/engine/core/events/AnimationEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698