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

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

Issue 9609008: Implemented Browser Plugin (NOT FOR REVIEW) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updated according to creis@'s comments 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..bdf22eee2b3299eb43dc5da3c66e817c8190db9f 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