Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGLineElement.h
index 59ee1c7..e449bf6 100644 (file)
 #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(); }
@@ -40,13 +41,11 @@ public:
 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;
@@ -54,6 +53,6 @@ private:
     RefPtr<SVGAnimatedLength> m_y2;
 };
 
-} // namespace WebCore
+} // namespace blink
 
-#endif
+#endif // SVGLineElement_h