namespace WebCore {
-enum ResolveTarget { DoNotResolveNewTarget, ResolveNewTarget };
-
class ConditionEventListener;
class SMILTimeContainer;
SMILTimeContainer* timeContainer() const { return m_timeContainer.get(); }
- SVGElement* targetElement(ResolveTarget = ResolveNewTarget);
- void resetTargetElement(ResolveTarget = ResolveNewTarget);
+ SVGElement* targetElement() const { return m_targetElement; }
const QualifiedName& attributeName() const { return m_attributeName; }
void beginByLinkActivation();
void setInactive() { m_activeState = Inactive; }
// Sub-classes may need to take action when the target is changed.
- virtual void targetElementWillChange(SVGElement* currentTarget, SVGElement* newTarget);
+ virtual void setTargetElement(SVGElement*);
virtual void setAttributeName(const QualifiedName&);
private:
+ void buildPendingResource();
+ void clearResourceReferences();
+
virtual void startedActiveInterval() = 0;
void endedActiveInterval();
virtual void updateAnimation(float percent, unsigned repeat, SVGSMILElement* resultElement) = 0;