Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGNumber.h
index 04f798c..072c185 100644 (file)
 #ifndef SVGNumber_h
 #define SVGNumber_h
 
-#include "bindings/v8/ExceptionMessages.h"
-#include "bindings/v8/ExceptionStatePlaceholder.h"
-#include "core/svg/properties/SVGProperty.h"
+#include "bindings/core/v8/ExceptionMessages.h"
+#include "core/svg/properties/SVGPropertyHelper.h"
 
-namespace WebCore {
+namespace blink {
 
 class SVGNumberTearOff;
 
-class SVGNumber : public SVGPropertyBase {
+class SVGNumber : public SVGPropertyHelper<SVGNumber> {
 public:
     // SVGNumber has a tear-off type, but SVGAnimatedNumber uses primitive type.
     typedef SVGNumberTearOff TearOffType;
@@ -51,7 +50,6 @@ public:
     }
 
     virtual PassRefPtr<SVGNumber> clone() const;
-    virtual PassRefPtr<SVGPropertyBase> cloneForAnimation(const String&) const OVERRIDE;
 
     float value() const { return m_value; }
     void setValue(float value) { m_value = value; }
@@ -99,6 +97,6 @@ private:
     SVGNumberAcceptPercentage(float value);
 };
 
-} // namespace WebCore
+} // namespace blink
 
 #endif // SVGNumber_h