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

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

Issue 10815073: Refactoring of new IPC-only pepper implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/public/renderer/render_view_observer.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
new file mode 100644
index 0000000000000000000000000000000000000000..a25a6d02318707a0cfddcf6e7c47115af0afbe22
--- /dev/null
+++ b/content/public/browser/browser_ppapi_host.h
@@ -0,0 +1,32 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_
+#define CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_
+
+namespace ppapi {
+namespace host {
+class PpapiHost;
+}
+}
+
+namespace content {
+
+// Interface that allows components in the embedder app to talk to the
+// PpapiHost in the browser process.
+//
+// There will be one of these objects in the browser per plugin process. It
+// lives entirely on the I/O thread.
+class BrowserPpapiHost {
+ public:
+ // Returns the PpapiHost object.
+ virtual ppapi::host::PpapiHost* GetPpapiHost() = 0;
+
+ protected:
+ virtual ~BrowserPpapiHost() {}
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_
« no previous file with comments | « content/ppapi_plugin/ppapi_thread.cc ('k') | content/public/renderer/render_view_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698