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

Unified Diff: Source/core/svg/properties/SVGPropertyTearOff.h

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
« no previous file with comments | « Source/core/svg/properties/SVGProperty.h ('k') | Source/core/svg/properties/SVGPropertyTearOff.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/properties/SVGPropertyTearOff.h
diff --git a/Source/core/svg/properties/NewSVGPropertyTearOff.h b/Source/core/svg/properties/SVGPropertyTearOff.h
similarity index 81%
rename from Source/core/svg/properties/NewSVGPropertyTearOff.h
rename to Source/core/svg/properties/SVGPropertyTearOff.h
index d5695808aa0ed86030607bcabb1871db88887ee1..caee1657c7733250c7f932545dd139fb8132ce2c 100644
--- a/Source/core/svg/properties/NewSVGPropertyTearOff.h
+++ b/Source/core/svg/properties/SVGPropertyTearOff.h
@@ -28,11 +28,11 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef NewSVGPropertyTearOff_h
-#define NewSVGPropertyTearOff_h
+#ifndef SVGPropertyTearOff_h
+#define SVGPropertyTearOff_h
#include "core/dom/QualifiedName.h"
-#include "core/svg/properties/NewSVGProperty.h"
+#include "core/svg/properties/SVGProperty.h"
#include "wtf/RefCounted.h"
namespace WebCore {
@@ -42,9 +42,9 @@ enum PropertyIsAnimValType {
PropertyIsAnimVal
};
-class NewSVGPropertyTearOffBase : public RefCounted<NewSVGPropertyTearOffBase> {
+class SVGPropertyTearOffBase : public RefCounted<SVGPropertyTearOffBase> {
public:
- virtual ~NewSVGPropertyTearOffBase() { }
+ virtual ~SVGPropertyTearOffBase() { }
PropertyIsAnimValType propertyIsAnimVal() const
{
@@ -86,7 +86,7 @@ public:
virtual AnimatedPropertyType type() const = 0;
protected:
- NewSVGPropertyTearOffBase(SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = nullQName())
+ SVGPropertyTearOffBase(SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = nullQName())
: m_contextElement(contextElement)
, m_propertyIsAnimVal(propertyIsAnimVal)
, m_isReadOnlyProperty(false)
@@ -104,7 +104,7 @@ private:
};
template <typename Property>
-class NewSVGPropertyTearOff : public NewSVGPropertyTearOffBase {
+class SVGPropertyTearOff : public SVGPropertyTearOffBase {
public:
Property* target()
{
@@ -122,8 +122,8 @@ public:
}
protected:
- NewSVGPropertyTearOff(PassRefPtr<Property> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = nullQName())
- : NewSVGPropertyTearOffBase(contextElement, propertyIsAnimVal, attributeName)
+ SVGPropertyTearOff(PassRefPtr<Property> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = nullQName())
+ : SVGPropertyTearOffBase(contextElement, propertyIsAnimVal, attributeName)
, m_target(target)
{
ASSERT(m_target);
@@ -135,4 +135,4 @@ private:
}
-#endif // NewSVGPropertyTearOff_h
+#endif // SVGPropertyTearOff_h
« no previous file with comments | « Source/core/svg/properties/SVGProperty.h ('k') | Source/core/svg/properties/SVGPropertyTearOff.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698