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

Side by Side Diff: content/browser/renderer_host/pepper/browser_ppapi_host_impl.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "content/browser/renderer_host/pepper/content_browser_pepper_host_facto ry.h"
11 #include "content/public/browser/browser_ppapi_host.h"
12 #include "ipc/ipc_listener.h"
13 #include "ppapi/host/ppapi_host.h"
14
15 namespace IPC {
16 class Sender;
17 }
18
19 namespace content {
20
21 class BrowserPpapiHostImpl : public BrowserPpapiHost, public IPC::Listener {
22 public:
23 BrowserPpapiHostImpl(IPC::Sender* sender,
24 const ppapi::PpapiPermissions& permissions);
25 virtual ~BrowserPpapiHostImpl();
26
27 // IPC::Listener.
28 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
29
30 // BrowserPpapiHost.
31 virtual ppapi::host::PpapiHost* GetPpapiHost() OVERRIDE;
32
33 private:
34 ContentBrowserPepperHostFactory host_factory_;
35 ppapi::host::PpapiHost ppapi_host_;
36
37 DISALLOW_COPY_AND_ASSIGN(BrowserPpapiHostImpl);
38 };
39
40 } // namespace content
41
42 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/ppapi_plugin_process_host.cc ('k') | content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698