Index: Source/core/html/HTMLFrameOwnerElement.h |
diff --git a/Source/core/html/HTMLFrameOwnerElement.h b/Source/core/html/HTMLFrameOwnerElement.h |
index 834ac123c70af030eaf94926ddb244fb900c836b..e9795bc214cc86e9281b78eec5327ee60d4497ed 100644 |
--- a/Source/core/html/HTMLFrameOwnerElement.h |
+++ b/Source/core/html/HTMLFrameOwnerElement.h |
@@ -31,6 +31,7 @@ class ExceptionState; |
class Frame; |
class RenderPart; |
class SVGDocument; |
+class Widget; |
class HTMLFrameOwnerElement : public HTMLElement { |
public: |
@@ -62,6 +63,14 @@ public: |
virtual void renderFallbackContent() { } |
virtual bool isObjectElement() const { return false; } |
+ void setWidget(PassRefPtr<Widget>); |
+ Widget* widget() const; |
+ |
+ class UpdateSuspendScope { |
+ public: |
+ UpdateSuspendScope(); |
+ ~UpdateSuspendScope(); |
+ }; |
protected: |
HTMLFrameOwnerElement(const QualifiedName& tagName, Document&); |
@@ -74,6 +83,7 @@ private: |
virtual bool isFrameOwnerElement() const OVERRIDE { return true; } |
Frame* m_contentFrame; |
+ RefPtr<Widget> m_widget; |
SandboxFlags m_sandboxFlags; |
}; |