Index: Source/WebCore/svg/animation/SVGSMILElement.h |
=================================================================== |
--- Source/WebCore/svg/animation/SVGSMILElement.h (revision 109357) |
+++ Source/WebCore/svg/animation/SVGSMILElement.h (working copy) |
@@ -54,7 +54,7 @@ |
SMILTimeContainer* timeContainer() const { return m_timeContainer.get(); } |
SVGElement* targetElement(); |
- void resetTargetElement() { m_targetElement = 0; } |
+ void resetTargetElement(); |
const QualifiedName& attributeName() const { return m_attributeName; } |
void beginByLinkActivation(); |
@@ -112,6 +112,9 @@ |
void setInactive() { m_activeState = Inactive; } |
+ // Sub-classes may need to take action when the target is changed. |
+ virtual void targetElementDidChange(SVGElement*) { } |
+ |
private: |
virtual void startedActiveInterval() = 0; |
virtual void updateAnimation(float percent, unsigned repeat, SVGSMILElement* resultElement) = 0; |
@@ -228,4 +231,3 @@ |
#endif // ENABLE(SVG) |
#endif // SVGSMILElement_h |
- |