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

Unified Diff: content/renderer/npapi/webplugin_delegate_proxy.h

Issue 107183002: Move more of the plugin code in the renderer to use RenderFrame instead of RenderView. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 years 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: content/renderer/npapi/webplugin_delegate_proxy.h
===================================================================
--- content/renderer/npapi/webplugin_delegate_proxy.h (revision 238847)
+++ content/renderer/npapi/webplugin_delegate_proxy.h (working copy)
@@ -38,6 +38,7 @@
namespace content {
class NPObjectStub;
class PluginChannelHost;
+class RenderFrameImpl;
class RenderViewImpl;
class WebPluginImpl;
@@ -51,7 +52,8 @@
public:
WebPluginDelegateProxy(WebPluginImpl* plugin,
const std::string& mime_type,
- const base::WeakPtr<RenderViewImpl>& render_view);
+ const base::WeakPtr<RenderViewImpl>& render_view,
+ RenderFrameImpl* render_frame);
// WebPluginDelegate implementation:
virtual void PluginDestroyed() OVERRIDE;
@@ -253,6 +255,7 @@
#endif
base::WeakPtr<RenderViewImpl> render_view_;
+ RenderFrameImpl* render_frame_;
WebPluginImpl* plugin_;
bool uses_shared_bitmaps_;
#if defined(OS_MACOSX)
« no previous file with comments | « content/public/renderer/render_frame_observer.cc ('k') | content/renderer/npapi/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698