summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGAnimatedTransformList.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGAnimatedTransformList.h')
-rw-r--r--WebCore/svg/SVGAnimatedTransformList.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/svg/SVGAnimatedTransformList.h b/WebCore/svg/SVGAnimatedTransformList.h
index dcf87dd..8caee3c 100644
--- a/WebCore/svg/SVGAnimatedTransformList.h
+++ b/WebCore/svg/SVGAnimatedTransformList.h
@@ -27,6 +27,13 @@ namespace WebCore {
typedef SVGAnimatedTransformListPropertyTearOff SVGAnimatedTransformList;
+// Helper macros to declare/define a SVGAnimatedTransformList object
+#define DECLARE_ANIMATED_TRANSFORM_LIST(UpperProperty, LowerProperty) \
+DECLARE_ANIMATED_LIST_PROPERTY(SVGAnimatedTransformList, SVGTransformList, UpperProperty, LowerProperty)
+
+#define DEFINE_ANIMATED_TRANSFORM_LIST(OwnerType, DOMAttribute, UpperProperty, LowerProperty) \
+DEFINE_ANIMATED_LIST_PROPERTY(OwnerType, DOMAttribute, DOMAttribute.localName(), SVGAnimatedTransformList, SVGTransformList, UpperProperty, LowerProperty)
+
} // namespace WebCore
#endif // ENABLE(SVG)