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

Unified Diff: content/renderer/pepper/pepper_plugin_delegate_impl.cc

Issue 10803050: Hook up the PPB_Flash_Print interface to new host system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: with deps Created 8 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
« no previous file with comments | « content/renderer/pepper/pepper_in_process_resource_creation.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_plugin_delegate_impl.cc
diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.cc b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
index 75a5236d4267b8a0cb2f1886978ba058845ae82d..c53be6ada4e5c7c3ace522437a8e796d4b9047d7 100644
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
@@ -111,7 +111,8 @@ class HostDispatcherWrapper
const ppapi::PpapiPermissions& perms)
: module_(module),
instance_state_(module),
- host_factory_(rv, perms, &instance_state_) {
+ host_factory_(rv, perms, &instance_state_),
+ render_view_(rv) {
}
virtual ~HostDispatcherWrapper() {}
@@ -147,6 +148,7 @@ class HostDispatcherWrapper
}
dispatcher_->channel()->SetRestrictDispatchChannelGroup(
content::kRendererRestrictDispatchGroup_Pepper);
+ render_view_->PpapiPluginCreated(host_.get());
return true;
}
@@ -166,6 +168,7 @@ class HostDispatcherWrapper
PepperInstanceStateAccessorImpl instance_state_;
ContentRendererPepperHostFactory host_factory_;
+ RenderViewImpl* render_view_;
scoped_ptr<ppapi::host::PpapiHost> host_;
scoped_ptr<ppapi::proxy::HostDispatcher> dispatcher_;
« no previous file with comments | « content/renderer/pepper/pepper_in_process_resource_creation.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698