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

Unified Diff: Source/core/svg/properties/SVGAnimatedProperty.cpp

Issue 208133002: [SVG] Remove "New" prefix from properties implementation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
Index: Source/core/svg/properties/SVGAnimatedProperty.cpp
diff --git a/Source/core/svg/properties/NewSVGAnimatedProperty.cpp b/Source/core/svg/properties/SVGAnimatedProperty.cpp
similarity index 83%
rename from Source/core/svg/properties/NewSVGAnimatedProperty.cpp
rename to Source/core/svg/properties/SVGAnimatedProperty.cpp
index 2ef17e110fb85ca13322fbd48e04ab076a5beb35..bbc12b2dde565469a8ad6033f50d497131ad9cd2 100644
--- a/Source/core/svg/properties/NewSVGAnimatedProperty.cpp
+++ b/Source/core/svg/properties/SVGAnimatedProperty.cpp
@@ -29,13 +29,13 @@
*/
#include "config.h"
-#include "core/svg/properties/NewSVGAnimatedProperty.h"
+#include "core/svg/properties/SVGAnimatedProperty.h"
#include "core/svg/SVGElement.h"
namespace WebCore {
-NewSVGAnimatedPropertyBase::NewSVGAnimatedPropertyBase(AnimatedPropertyType type, SVGElement* contextElement, const QualifiedName& attributeName)
+SVGAnimatedPropertyBase::SVGAnimatedPropertyBase(AnimatedPropertyType type, SVGElement* contextElement, const QualifiedName& attributeName)
: m_type(type)
, m_isReadOnly(false)
, m_isAnimating(false)
@@ -49,36 +49,36 @@ NewSVGAnimatedPropertyBase::NewSVGAnimatedPropertyBase(AnimatedPropertyType type
m_contextElement->setContextElement();
}
-NewSVGAnimatedPropertyBase::~NewSVGAnimatedPropertyBase()
+SVGAnimatedPropertyBase::~SVGAnimatedPropertyBase()
{
ASSERT(!isAnimating());
}
-void NewSVGAnimatedPropertyBase::animationStarted()
+void SVGAnimatedPropertyBase::animationStarted()
{
ASSERT(!isAnimating());
m_isAnimating = true;
}
-void NewSVGAnimatedPropertyBase::animationEnded()
+void SVGAnimatedPropertyBase::animationEnded()
{
ASSERT(isAnimating());
m_isAnimating = false;
}
-void NewSVGAnimatedPropertyBase::synchronizeAttribute()
+void SVGAnimatedPropertyBase::synchronizeAttribute()
{
ASSERT(needsSynchronizeAttribute());
AtomicString value(currentValueBase()->valueAsString());
m_contextElement->setSynchronizedLazyAttribute(m_attributeName, value);
}
-bool NewSVGAnimatedPropertyBase::isSpecified() const
+bool SVGAnimatedPropertyBase::isSpecified() const
{
return isAnimating() || contextElement()->hasAttribute(attributeName());
}
-void NewSVGAnimatedPropertyBase::commitChange()
+void SVGAnimatedPropertyBase::commitChange()
{
contextElement()->invalidateSVGAttributes();
contextElement()->svgAttributeChanged(m_attributeName);
« no previous file with comments | « Source/core/svg/properties/SVGAnimatedProperty.h ('k') | Source/core/svg/properties/SVGListPropertyHelper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698