#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