Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / HTMLDivElement.h
index e326c6e..b20c994 100644 (file)
 
 #include "core/html/HTMLElement.h"
 
-namespace WebCore {
+namespace blink {
 
 class HTMLDivElement : public HTMLElement {
+    DEFINE_WRAPPERTYPEINFO();
 public:
-    static PassRefPtr<HTMLDivElement> create(Document&);
-    static PassRefPtr<HTMLDivElement> create(const QualifiedName&, Document&);
+    DECLARE_NODE_FACTORY(HTMLDivElement);
 
 protected:
-    HTMLDivElement(const QualifiedName&, Document&);
+    explicit HTMLDivElement(Document&);
 
 private:
-    virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
     virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) OVERRIDE;
 };
 
-DEFINE_NODE_TYPE_CASTS(HTMLDivElement, hasTagName(HTMLNames::divTag));
-
-} // namespace WebCore
+} // namespace blink
 
 #endif // HTMLDivElement_h