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

Unified Diff: third_party/WebKit/Source/web/WebPluginContainerImpl.h

Issue 2871453002: Delete widget tree (FrameView::parent_) (Closed)
Patch Set: Remove deferred state Created 3 years, 7 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
Index: third_party/WebKit/Source/web/WebPluginContainerImpl.h
diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.h b/third_party/WebKit/Source/web/WebPluginContainerImpl.h
index ef1ac551dfa4c49f1fb59354fade16e5bc7de3a3..913071fcef3667f46e4b5d1dd67d4c74cfeb4b8f 100644
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.h
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.h
@@ -77,7 +77,10 @@ class WEB_EXPORT WebPluginContainerImpl final
// PluginView methods
void SetParent(FrameView*) override;
- FrameView* Parent() const override { return parent_; };
+ FrameView* Parent() const override;
+ FrameView* ParentFrameView() const;
+ void SetFrameOrPluginState(FrameOrPluginState) override;
+ FrameOrPluginState GetFrameOrPluginState() const { return plugin_state_; }
void SetParentVisible(bool) override;
WebLayer* PlatformLayer() const override;
v8::Local<v8::Object> ScriptableObject(v8::Isolate*) override;
@@ -217,6 +220,7 @@ class WEB_EXPORT WebPluginContainerImpl final
friend class WebPluginContainerTest;
Member<FrameView> parent_;
+ FrameOrPluginState plugin_state_;
Member<HTMLPlugInElement> element_;
WebPlugin* web_plugin_;
WebLayer* web_layer_;
« no previous file with comments | « third_party/WebKit/Source/core/plugins/PluginView.h ('k') | third_party/WebKit/Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698