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

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

Issue 603193005: Move the Widget hierarchy to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Switch LocalFrame::m_pluginElements rep to HashSet<HTMLPlugInElement*> Created 6 years, 2 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: Source/core/plugins/PluginView.h
diff --git a/Source/core/plugins/PluginView.h b/Source/core/plugins/PluginView.h
index 0f2122d3ef3c20f48dbba5a864eaed91301234dd..38d1429d542a15227b94231266a9dbaee836f64d 100644
--- a/Source/core/plugins/PluginView.h
+++ b/Source/core/plugins/PluginView.h
@@ -59,6 +59,11 @@ public:
virtual void didFinishLoading() { }
virtual void didFailLoading(const ResourceError&) { }
+#if ENABLE(OILPAN)
+ virtual LocalFrame* pluginFrame() const { return nullptr; }
+ virtual void shouldDisposePlugin() { }
+#endif
+
protected:
PluginView() : Widget() { }
};

Powered by Google App Engine
This is Rietveld 408576698