#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;
}
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; }
SVGNumberAcceptPercentage(float value);
};
-} // namespace WebCore
+} // namespace blink
#endif // SVGNumber_h