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

Unified Diff: content/public/browser/content_browser_client.h

Issue 11368019: Add support for external out-of-process PPAPI plugins in the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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/public/browser/browser_ppapi_host.h ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,15 @@
// 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);
+
// Returns true if renderer processes can use Pepper TCP/UDP sockets from
// the given origin and connection type.
virtual bool AllowPepperSocketAPI(BrowserContext* browser_context,
« no previous file with comments | « content/public/browser/browser_ppapi_host.h ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698