summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLFrameSetElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLFrameSetElement.h')
-rw-r--r--Source/WebCore/html/HTMLFrameSetElement.h25
1 files changed, 23 insertions, 2 deletions
diff --git a/Source/WebCore/html/HTMLFrameSetElement.h b/Source/WebCore/html/HTMLFrameSetElement.h
index 6cd85dc47..80e7f2afe 100644
--- a/Source/WebCore/html/HTMLFrameSetElement.h
+++ b/Source/WebCore/html/HTMLFrameSetElement.h
@@ -31,7 +31,7 @@ namespace WebCore {
class HTMLFrameSetElement final : public HTMLElement {
public:
- static Ref<HTMLFrameSetElement> create(const QualifiedName&, Document&);
+ static PassRefPtr<HTMLFrameSetElement> create(const QualifiedName&, Document&);
bool hasFrameBorder() const { return m_frameborder; }
bool noResize() const { return m_noresize; }
@@ -47,6 +47,25 @@ public:
static HTMLFrameSetElement* findContaining(Element* descendant);
+ // Declared virtual in Element
+ 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(beforeunload);
+ DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(hashchange);
+ DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(message);
+ DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(offline);
+ DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(online);
+ DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(popstate);
+ DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(resize);
+ DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(storage);
+ DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(unload);
+#if ENABLE(ORIENTATION_EVENTS)
+ DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(orientationchange);
+#endif
+
private:
HTMLFrameSetElement(const QualifiedName&, Document&);
@@ -56,7 +75,7 @@ private:
virtual void willAttachRenderers() override;
virtual bool rendererIsNeeded(const RenderStyle&) override;
- virtual RenderPtr<RenderElement> createElementRenderer(Ref<RenderStyle>&&, const RenderTreePosition&) override;
+ virtual RenderPtr<RenderElement> createElementRenderer(PassRef<RenderStyle>) override;
virtual void defaultEventHandler(Event*) override;
@@ -81,6 +100,8 @@ private:
bool m_noresize;
};
+NODE_TYPE_CASTS(HTMLFrameSetElement)
+
} // namespace WebCore
#endif // HTMLFrameSetElement_h