Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(697)

Unified Diff: Source/core/html/HTMLFrameOwnerElement.h

Issue 23618022: BrowserPlugin/WebView - Move plugin lifetime to DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix mac compile issue. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};

Powered by Google App Engine
This is Rietveld 408576698