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

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: Handle shared-renderer case. Created 6 years, 9 months 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
« no previous file with comments | « Source/core/html/HTMLFrameElementBase.cpp ('k') | Source/core/html/HTMLFrameOwnerElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFrameOwnerElement.h
diff --git a/Source/core/html/HTMLFrameOwnerElement.h b/Source/core/html/HTMLFrameOwnerElement.h
index 44112bd2d9842efb2b7668a5246a6a136f74b54b..cc418ad1cd013f3a1819d26f954048a534d77ccb 100644
--- a/Source/core/html/HTMLFrameOwnerElement.h
+++ b/Source/core/html/HTMLFrameOwnerElement.h
@@ -31,6 +31,7 @@ class DOMWindow;
class ExceptionState;
class Frame;
class RenderPart;
+class Widget;
class HTMLFrameOwnerElement : public HTMLElement {
public:
@@ -62,6 +63,17 @@ public:
virtual void renderFallbackContent() { }
virtual bool isObjectElement() const { return false; }
+ void setWidget(PassRefPtr<Widget>);
+ Widget* ownedWidget() const;
+
+ class UpdateSuspendScope {
+ public:
+ UpdateSuspendScope();
+ ~UpdateSuspendScope();
+
+ private:
+ void performDeferredWidgetTreeOperations();
+ };
protected:
HTMLFrameOwnerElement(const QualifiedName& tagName, Document&);
@@ -74,6 +86,7 @@ private:
virtual bool isFrameOwnerElement() const OVERRIDE FINAL { return true; }
Frame* m_contentFrame;
+ RefPtr<Widget> m_widget;
SandboxFlags m_sandboxFlags;
};
« no previous file with comments | « Source/core/html/HTMLFrameElementBase.cpp ('k') | Source/core/html/HTMLFrameOwnerElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698