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

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

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.cc
===================================================================
--- webkit/plugins/ppapi/ppapi_plugin_instance.cc (revision 212906)
+++ webkit/plugins/ppapi/ppapi_plugin_instance.cc (working copy)
@@ -312,6 +312,7 @@
// static
PluginInstance* PluginInstance::Create(PluginDelegate* delegate,
+ content::RenderView* render_view,
PluginModule* module,
WebPluginContainer* container,
const GURL& plugin_url) {
@@ -321,8 +322,8 @@
PPP_Instance_Combined::Create(get_plugin_interface_func);
if (!ppp_instance_combined)
return NULL;
- return new PluginInstance(delegate, module, ppp_instance_combined, container,
- plugin_url);
+ return new PluginInstance(delegate, render_view, module,
+ ppp_instance_combined, container, plugin_url);
}
PluginInstance::NaClDocumentLoader::NaClDocumentLoader()
@@ -389,11 +390,13 @@
PluginInstance::PluginInstance(
PluginDelegate* delegate,
+ content::RenderView* render_view,
PluginModule* module,
::ppapi::PPP_Instance_Combined* instance_interface,
WebPluginContainer* container,
const GURL& plugin_url)
: delegate_(delegate),
+ render_view_(render_view),
module_(module),
instance_interface_(instance_interface),
pp_instance_(0),

Powered by Google App Engine
This is Rietveld 408576698