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

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

Issue 10912062: Implement the gamepad API in the IPC proxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
« no previous file with comments | « content/ppapi_plugin/ppapi_thread.cc ('k') | content/renderer/gamepad_shared_memory_reader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browser_ppapi_host.h
diff --git a/content/public/browser/browser_ppapi_host.h b/content/public/browser/browser_ppapi_host.h
index a25a6d02318707a0cfddcf6e7c47115af0afbe22..aa9799071cd2460ab1fc02226121d90321348fe8 100644
--- a/content/public/browser/browser_ppapi_host.h
+++ b/content/public/browser/browser_ppapi_host.h
@@ -5,6 +5,9 @@
#ifndef CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_
#define CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_
+#include "base/process.h"
+#include "content/common/content_export.h"
+
namespace ppapi {
namespace host {
class PpapiHost;
@@ -18,11 +21,14 @@ namespace content {
//
// There will be one of these objects in the browser per plugin process. It
// lives entirely on the I/O thread.
-class BrowserPpapiHost {
+class CONTENT_EXPORT BrowserPpapiHost {
public:
// Returns the PpapiHost object.
virtual ppapi::host::PpapiHost* GetPpapiHost() = 0;
+ // Returns the handle to the plugin process.
+ virtual base::ProcessHandle GetPluginProcessHandle() const = 0;
+
protected:
virtual ~BrowserPpapiHost() {}
};
« no previous file with comments | « content/ppapi_plugin/ppapi_thread.cc ('k') | content/renderer/gamepad_shared_memory_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698