Chromium Code Reviews| Index: content/public/browser/content_browser_client.h |
| =================================================================== |
| --- content/public/browser/content_browser_client.h (revision 166155) |
| +++ content/public/browser/content_browser_client.h (working copy) |
| @@ -436,11 +436,26 @@ |
| // else we should do with the file. |
| virtual std::string GetDefaultDownloadName(); |
| - // Notifification that a pepper plugin has just been spawned. This allows the |
| + // Notification that a pepper plugin has just been spawned. This allows the |
| // embedder to add filters onto the host to implement interfaces. |
| // This is called on the IO thread. |
| virtual void DidCreatePpapiPlugin(BrowserPpapiHost* browser_host) {} |
| + // Gets the host for an external out-of-process plugin. |
| + virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost( |
| + int plugin_child_id); |
| + |
| + // Notification that an instance has just been created for an external out of |
| + // process pepper plugin (e.g. a NaCl plugin). Called on the IO thread. |
| + virtual void DidCreatePpapiInstance(int plugin_child_id, |
|
brettw
2012/11/07 00:18:11
I'm not sure these are used? Are they from a previ
bbudge
2012/11/07 00:51:46
Yep. Thanks.
|
| + int32 pp_instance, |
| + int render_process_id, |
| + int render_view_id) {} |
| + // Notification that an instance has just been deleted for an external out of |
| + // process pepper plugin (e.g. a NaCl plugin). Called on the IO thread. |
| + virtual void DidDeletePpapiInstance(int plugin_child_id, |
| + int32 pp_instance) {} |
| + |
| // Returns true if renderer processes can use Pepper TCP/UDP sockets from |
| // the given origin and connection type. |
| virtual bool AllowPepperSocketAPI(BrowserContext* browser_context, |