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

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: Updated after merging with ToT 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 1d9472330cf60944bb04a987963b5efb87fbea22..31c9831c137ec5f6ed0c142b15d886722bcf8c55 100644
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.h
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.h
@@ -97,6 +97,15 @@ 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 the scoped_refptr will point
jam 2012/05/16 02:22:40 nit: just say will return NULL
Fady Samuel 2012/05/16 04:43:54 Done.
+ // to NULL.
+ scoped_refptr<webkit::ppapi::PluginModule>
+ CreateBrowserPluginModule(
jam 2012/05/16 02:22:40 need to tab here, although it looks like you can f
Fady Samuel 2012/05/16 04:43:54 Done.
+ 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.

Powered by Google App Engine
This is Rietveld 408576698