Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / properties / SVGAnimatedProperty.h
index e946170..113027f 100644 (file)
@@ -31,8 +31,8 @@ G*     * Redistributions in binary form must reproduce the above
 #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"
@@ -41,11 +41,11 @@ G*     * Redistributions in binary form must reproduce the above
 #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();
 
@@ -56,6 +56,7 @@ public:
     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();
 
@@ -129,7 +130,7 @@ public:
         return m_currentValue;
     }
 
-    void setBaseValueAsString(const String& value, SVGParsingError& parseError)
+    void setBaseValueAsString(const String& value, SVGParsingError& parseError) OVERRIDE
     {
         TrackExceptionState es;
 
@@ -198,7 +199,7 @@ public:
         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.");