From f05b935882198ccf7d81675736e3aeb089c5113a Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Thu, 5 May 2011 14:36:32 +0100 Subject: Merge WebKit at r74534: Initial merge by git. Change-Id: I6ccd1154fa1b19c2ec2a66878eb675738735f1eb --- WebCore/svg/SVGEllipseElement.h | 47 +++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 23 deletions(-) (limited to 'WebCore/svg/SVGEllipseElement.h') diff --git a/WebCore/svg/SVGEllipseElement.h b/WebCore/svg/SVGEllipseElement.h index 3bd7a50..7ba2085 100644 --- a/WebCore/svg/SVGEllipseElement.h +++ b/WebCore/svg/SVGEllipseElement.h @@ -22,8 +22,8 @@ #define SVGEllipseElement_h #if ENABLE(SVG) +#include "SVGAnimatedBoolean.h" #include "SVGAnimatedLength.h" -#include "SVGAnimatedPropertyMacros.h" #include "SVGExternalResourcesRequired.h" #include "SVGLangSpace.h" #include "SVGStyledTransformableElement.h" @@ -31,34 +31,35 @@ namespace WebCore { - class SVGEllipseElement : public SVGStyledTransformableElement, - public SVGTests, - public SVGLangSpace, - public SVGExternalResourcesRequired { - public: - static PassRefPtr create(const QualifiedName&, Document*); +class SVGEllipseElement : public SVGStyledTransformableElement, + public SVGTests, + public SVGLangSpace, + public SVGExternalResourcesRequired { +public: + static PassRefPtr create(const QualifiedName&, Document*); - private: - SVGEllipseElement(const QualifiedName&, Document*); - - virtual bool isValid() const { return SVGTests::isValid(); } +private: + SVGEllipseElement(const QualifiedName&, Document*); + + virtual bool isValid() const { return SVGTests::isValid(); } - virtual void parseMappedAttribute(Attribute*); - virtual void svgAttributeChanged(const QualifiedName&); - virtual void synchronizeProperty(const QualifiedName&); + virtual void parseMappedAttribute(Attribute*); + virtual void svgAttributeChanged(const QualifiedName&); + virtual void synchronizeProperty(const QualifiedName&); - virtual void toPathData(Path&) const; + virtual void toPathData(Path&) const; - virtual bool selfHasRelativeLengths() const; + virtual bool selfHasRelativeLengths() const; - DECLARE_ANIMATED_PROPERTY_NEW(SVGEllipseElement, SVGNames::cxAttr, SVGLength, Cx, cx) - DECLARE_ANIMATED_PROPERTY_NEW(SVGEllipseElement, SVGNames::cyAttr, SVGLength, Cy, cy) - DECLARE_ANIMATED_PROPERTY_NEW(SVGEllipseElement, SVGNames::rxAttr, SVGLength, Rx, rx) - DECLARE_ANIMATED_PROPERTY_NEW(SVGEllipseElement, SVGNames::ryAttr, SVGLength, Ry, ry) + // Animated property declarations + DECLARE_ANIMATED_LENGTH(Cx, cx) + DECLARE_ANIMATED_LENGTH(Cy, cy) + DECLARE_ANIMATED_LENGTH(Rx, rx) + DECLARE_ANIMATED_LENGTH(Ry, ry) - // SVGExternalResourcesRequired - DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGEllipseElement, SVGNames::externalResourcesRequiredAttr, bool, ExternalResourcesRequired, externalResourcesRequired) - }; + // SVGExternalResourcesRequired + DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesRequired) +}; } // namespace WebCore -- cgit v1.1