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

Unified Diff: third_party/WebKit/Source/core/plugins/PluginView.h

Issue 2888203006: Move the logic to retrieve the WebPluginContainer to LocalFrame and Node. (Closed)
Patch Set: Ensure we have a valid PluginView before using it. 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/core/plugins/PluginView.h
diff --git a/third_party/WebKit/Source/core/plugins/PluginView.h b/third_party/WebKit/Source/core/plugins/PluginView.h
index 7f538e56a62fc98dc287433b373adba8fb949efd..bd8cf042b170eeca6624a586e03be0ec963dfd8e 100644
--- a/third_party/WebKit/Source/core/plugins/PluginView.h
+++ b/third_party/WebKit/Source/core/plugins/PluginView.h
@@ -41,6 +41,7 @@ namespace blink {
class Event;
class ResourceResponse;
class WebLayer;
+class WebPluginContainerBase;
// TODO(joelhockey): Remove this class.
// The only implementation of this class is web/WebPluginContainerImpl.
@@ -72,6 +73,9 @@ class CORE_EXPORT PluginView : public FrameOrPlugin {
virtual void UpdateAllLifecyclePhases() {}
virtual void InvalidatePaint() {}
+ virtual WebPluginContainerBase* GetWebPluginContainerBase() const {
+ return nullptr;
+ }
};
DEFINE_TYPE_CASTS(PluginView,
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.cpp ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698