summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/html/HTMLBodyElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/html/HTMLBodyElement.h')
-rw-r--r--chromium/third_party/WebKit/Source/core/html/HTMLBodyElement.h28
1 files changed, 13 insertions, 15 deletions
diff --git a/chromium/third_party/WebKit/Source/core/html/HTMLBodyElement.h b/chromium/third_party/WebKit/Source/core/html/HTMLBodyElement.h
index d7a5c45da0a..7dd1f21c09b 100644
--- a/chromium/third_party/WebKit/Source/core/html/HTMLBodyElement.h
+++ b/chromium/third_party/WebKit/Source/core/html/HTMLBodyElement.h
@@ -24,6 +24,7 @@
#ifndef HTMLBodyElement_h
#define HTMLBodyElement_h
+#include "core/dom/Document.h"
#include "core/html/HTMLElement.h"
namespace WebCore {
@@ -32,18 +33,16 @@ class Document;
class HTMLBodyElement FINAL : public HTMLElement {
public:
- static PassRefPtr<HTMLBodyElement> create(Document&);
+ DECLARE_NODE_FACTORY(HTMLBodyElement);
virtual ~HTMLBodyElement();
DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(blur);
DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(error);
DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(focus);
DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(load);
+ DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(resize);
DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(scroll);
-
-#if ENABLE(ORIENTATION_EVENTS)
DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(orientationchange);
-#endif
private:
explicit HTMLBodyElement(Document&);
@@ -53,25 +52,24 @@ private:
virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) OVERRIDE;
virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
+ virtual void didNotifySubtreeInsertionsToDocument() OVERRIDE;
virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
+ virtual bool hasLegalLinkAttribute(const QualifiedName&) const OVERRIDE;
+ virtual const QualifiedName& subResourceAttributeName() const OVERRIDE;
- virtual bool supportsFocus() const;
+ virtual bool supportsFocus() const OVERRIDE;
- virtual int scrollLeft();
- virtual void setScrollLeft(int scrollLeft);
+ virtual int scrollLeft() OVERRIDE;
+ virtual void setScrollLeft(int) OVERRIDE;
- virtual int scrollTop();
- virtual void setScrollTop(int scrollTop);
+ virtual int scrollTop() OVERRIDE;
+ virtual void setScrollTop(int) OVERRIDE;
- virtual int scrollHeight();
- virtual int scrollWidth();
-
- virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const;
+ virtual int scrollHeight() OVERRIDE;
+ virtual int scrollWidth() OVERRIDE;
};
-DEFINE_NODE_TYPE_CASTS(HTMLBodyElement, hasTagName(HTMLNames::bodyTag));
-
} //namespace
#endif