Index: Source/WebCore/svg/animation/SVGSMILElement.h |
=================================================================== |
--- Source/WebCore/svg/animation/SVGSMILElement.h (revision 132107) |
+++ Source/WebCore/svg/animation/SVGSMILElement.h (working copy) |
@@ -32,7 +32,9 @@ |
#include <wtf/HashMap.h> |
namespace WebCore { |
- |
+ |
+enum ResolveTarget { DoNotResolveNewTarget, ResolveNewTarget }; |
+ |
class ConditionEventListener; |
class SMILTimeContainer; |
@@ -51,12 +53,13 @@ |
virtual void removedFrom(ContainerNode*) OVERRIDE; |
virtual bool hasValidAttributeType() = 0; |
+ virtual bool hasValidAttributeName(); |
virtual void animationAttributeChanged() = 0; |
SMILTimeContainer* timeContainer() const { return m_timeContainer.get(); } |
SVGElement* targetElement(); |
- void resetTargetElement(); |
+ void resetTargetElement(ResolveTarget = ResolveNewTarget); |
const QualifiedName& attributeName() const { return m_attributeName; } |
void beginByLinkActivation(); |
@@ -138,8 +141,9 @@ |
void checkRestart(SMILTime elapsed); |
void beginListChanged(SMILTime eventTime); |
void endListChanged(SMILTime eventTime); |
- void reschedule(); |
+ void setAttributeName(const QualifiedName&); |
+ |
// This represents conditions on elements begin or end list that need to be resolved on runtime |
// for example <animate begin="otherElement.begin + 8s; button.click" ... /> |
struct Condition { |