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

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: Rename & format. 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 aa57ca011d3dd3e8d397d6396fd4a8f118c75010..e0f1a67531f4f5a7eb94b9f00d14a5803ae61f35 100644
--- a/third_party/WebKit/Source/core/plugins/PluginView.h
+++ b/third_party/WebKit/Source/core/plugins/PluginView.h
@@ -42,6 +42,7 @@ class Event;
class FrameView;
class ResourceResponse;
class WebLayer;
+class WebPluginContainerBase;
// TODO(joelhockey): Remove this class.
// The only implementation of this class is web/WebPluginContainerImpl.
@@ -77,6 +78,9 @@ class CORE_EXPORT PluginView : public FrameOrPlugin {
virtual void UpdateAllLifecyclePhases() {}
virtual void InvalidatePaint() {}
+ virtual WebPluginContainerBase* GetWebPluginContainerBase() const {
+ return nullptr;
+ }
};
DEFINE_TYPE_CASTS(PluginView,

Powered by Google App Engine
This is Rietveld 408576698