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

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

Issue 9968097: Browser Plugin: Renderer-side changes (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Make RefCounted<GuestToEmbedderChannel> a friend Created 8 years, 7 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: content/renderer/pepper/pepper_plugin_delegate_impl.h
diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.h b/content/renderer/pepper/pepper_plugin_delegate_impl.h
index 43f20fd18d158faff0fabc0cb03bc48da34db1f8..54ac84c79fbe0286fd0a30c3417d179923bfe114 100644
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.h
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.h
@@ -97,6 +97,13 @@ class PepperPluginDelegateImpl
const webkit::WebPluginInfo& webplugin_info,
bool* pepper_plugin_was_registered);
+ // Creates a browser plugin instance given the process handle, and channel
+ // handle to access the guest renderer.
+ // If the plugin fails to initialize then return NULL.
+ scoped_refptr<webkit::ppapi::PluginModule> CreateBrowserPluginModule(
+ const IPC::ChannelHandle& channel_handle,
+ int guest_process_id);
+
// Called by RenderView to tell us about painting events, these two functions
// just correspond to the WillInitiatePaint, DidInitiatePaint and
// DidFlushPaint hooks in RenderView.
« no previous file with comments | « content/renderer/browser_plugin/guest_to_embedder_channel.cc ('k') | content/renderer/pepper/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698