#ifndef SVGAnimatedProperty_h
#define SVGAnimatedProperty_h
-#include "bindings/v8/ExceptionStatePlaceholder.h"
-#include "bindings/v8/ScriptWrappable.h"
+#include "bindings/core/v8/ExceptionStatePlaceholder.h"
+#include "bindings/core/v8/ScriptWrappable.h"
#include "core/dom/ExceptionCode.h"
#include "core/svg/SVGParsingError.h"
#include "core/svg/properties/SVGPropertyInfo.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
-namespace WebCore {
+namespace blink {
class SVGElement;
-class SVGAnimatedPropertyBase : public RefCounted<SVGAnimatedPropertyBase> {
+class SVGAnimatedPropertyBase : public RefCounted<SVGAnimatedPropertyBase>, public ScriptWrappableBase {
public:
virtual ~SVGAnimatedPropertyBase();
virtual void setAnimatedValue(PassRefPtr<SVGPropertyBase>) = 0;
virtual void animationEnded();
+ virtual void setBaseValueAsString(const String& value, SVGParsingError& parseError) = 0;
virtual bool needsSynchronizeAttribute() = 0;
virtual void synchronizeAttribute();
return m_currentValue;
}
- void setBaseValueAsString(const String& value, SVGParsingError& parseError)
+ void setBaseValueAsString(const String& value, SVGParsingError& parseError) OVERRIDE
{
TrackExceptionState es;
return this->baseValue()->value();
}
- void setBaseVal(PrimitiveType value, WebCore::ExceptionState& exceptionState)
+ void setBaseVal(PrimitiveType value, blink::ExceptionState& exceptionState)
{
if (this->isReadOnly()) {
exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only.");