summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLFrameOwnerElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLFrameOwnerElement.h')
-rw-r--r--WebCore/html/HTMLFrameOwnerElement.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/html/HTMLFrameOwnerElement.h b/WebCore/html/HTMLFrameOwnerElement.h
index 804ab22..c84d7bb 100644
--- a/WebCore/html/HTMLFrameOwnerElement.h
+++ b/WebCore/html/HTMLFrameOwnerElement.h
@@ -28,6 +28,7 @@ namespace WebCore {
class DOMWindow;
class Frame;
+class RenderPart;
#if ENABLE(SVG)
class SVGDocument;
@@ -41,6 +42,11 @@ public:
DOMWindow* contentWindow() const;
Document* contentDocument() const;
+ // Most subclasses use RenderPart (either RenderEmbeddedObject or RenderIFrame)
+ // except for HTMLObjectElement and HTMLEmbedElement which may return any
+ // RenderObject when using fallback content.
+ RenderPart* renderPart() const;
+
#if ENABLE(SVG)
SVGDocument* getSVGDocument(ExceptionCode&) const;
#endif