diff options
Diffstat (limited to 'WebCore/svg/SVGAnimatedLength.h')
-rw-r--r-- | WebCore/svg/SVGAnimatedLength.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/svg/SVGAnimatedLength.h b/WebCore/svg/SVGAnimatedLength.h index 0504fd7..570b2a0 100644 --- a/WebCore/svg/SVGAnimatedLength.h +++ b/WebCore/svg/SVGAnimatedLength.h @@ -28,6 +28,13 @@ namespace WebCore { typedef SVGAnimatedPropertyTearOff<SVGLength> SVGAnimatedLength; +// Helper macros to declare/define a SVGAnimatedLength object +#define DECLARE_ANIMATED_LENGTH(UpperProperty, LowerProperty) \ +DECLARE_ANIMATED_PROPERTY(SVGAnimatedLength, SVGLength, UpperProperty, LowerProperty) + +#define DEFINE_ANIMATED_LENGTH(OwnerType, DOMAttribute, UpperProperty, LowerProperty) \ +DEFINE_ANIMATED_PROPERTY(OwnerType, DOMAttribute, DOMAttribute.localName(), SVGAnimatedLength, SVGLength, UpperProperty, LowerProperty) + } // namespace WebCore #endif // ENABLE(SVG) |