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

Unified Diff: webkit/plugins/ppapi/ppapi_plugin_instance.h

Issue 19800005: Hide knowledge of webkit::ppapi::PluginDelegate from chrome. This is part of moving ppapi implement… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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: webkit/plugins/ppapi/ppapi_plugin_instance.h
===================================================================
--- webkit/plugins/ppapi/ppapi_plugin_instance.h (revision 212906)
+++ webkit/plugins/ppapi/ppapi_plugin_instance.h (working copy)
@@ -80,6 +80,10 @@
class TextureLayer;
}
+namespace content {
+class RenderView;
+}
+
namespace ppapi {
struct InputEventData;
struct PPP_Instance_Combined;
@@ -122,6 +126,7 @@
// function. If the plugin does not support any valid PPP_Instance interface,
// returns NULL.
static PluginInstance* Create(PluginDelegate* delegate,
+ content::RenderView* render_view,
PluginModule* module,
WebKit::WebPluginContainer* container,
const GURL& plugin_url);
@@ -129,6 +134,7 @@
virtual ~PluginInstance();
PluginDelegate* delegate() const { return delegate_; }
+ content::RenderView* render_view() const {return render_view_; }
PluginModule* module() const { return module_.get(); }
MessageChannel& message_channel() { return *message_channel_; }
@@ -552,6 +558,7 @@
// details while still having 1 constructor to maintain for member
// initialization.
PluginInstance(PluginDelegate* delegate,
+ content::RenderView* render_view,
PluginModule* module,
::ppapi::PPP_Instance_Combined* instance_interface,
WebKit::WebPluginContainer* container,
@@ -641,6 +648,7 @@
void ResetSizeAttributesAfterFullscreen();
PluginDelegate* delegate_;
+ content::RenderView* render_view_;
scoped_refptr<PluginModule> module_;
scoped_ptr< ::ppapi::PPP_Instance_Combined> instance_interface_;
// If this is the NaCl plugin, we create a new module when we switch to the

Powered by Google App Engine
This is Rietveld 408576698