#ifndef SVGLineElement_h
#define SVGLineElement_h
-#include "SVGNames.h"
+#include "core/SVGNames.h"
#include "core/svg/SVGAnimatedBoolean.h"
#include "core/svg/SVGAnimatedLength.h"
#include "core/svg/SVGGeometryElement.h"
-namespace WebCore {
+namespace blink {
-class SVGLineElement FINAL : public SVGGeometryElement {
+class SVGLineElement final : public SVGGeometryElement {
+ DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtr<SVGLineElement> create(Document&);
+ DECLARE_NODE_FACTORY(SVGLineElement);
SVGAnimatedLength* x1() const { return m_x1.get(); }
SVGAnimatedLength* y1() const { return m_y1.get(); }
private:
explicit SVGLineElement(Document&);
- virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(); }
-
bool isSupportedAttribute(const QualifiedName&);
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
- virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
+ virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ virtual void svgAttributeChanged(const QualifiedName&) override;
- virtual bool selfHasRelativeLengths() const OVERRIDE;
+ virtual bool selfHasRelativeLengths() const override;
RefPtr<SVGAnimatedLength> m_x1;
RefPtr<SVGAnimatedLength> m_y1;
RefPtr<SVGAnimatedLength> m_y2;
};
-} // namespace WebCore
+} // namespace blink
-#endif
+#endif // SVGLineElement_h