Chromium Code Reviews

Unified Diff: Source/core/svg/SVGAnimationElement.h

Issue 201673003: [SVG2] Add onbegin, onend and onrepeat EventHandlers on SVGAnimationElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: test expectations Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/svg/SVGAnimationElement.h
diff --git a/Source/core/svg/SVGAnimationElement.h b/Source/core/svg/SVGAnimationElement.h
index 27497789ff8481784928fd74d926fd8dfe340a21..4f03b801f9eb5d5d0ce4e1150a752c3695f1e3b6 100644
--- a/Source/core/svg/SVGAnimationElement.h
+++ b/Source/core/svg/SVGAnimationElement.h
@@ -74,6 +74,10 @@ public:
void endElement();
void endElementAt(float offset);
+ DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(begin, beginEvent);
+ DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(end, endEvent);
+ DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(repeat, repeatEvent);
+
static bool isTargetAttributeCSSProperty(SVGElement*, const QualifiedName&);
virtual bool isAdditive() const;

Powered by Google App Engine