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

Side by Side Diff: content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h

Issue 10696132: Wire up a PPAPI host in content/browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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_PEPPER_CONTENT_BROWSER_PEPPER_HOST_FACTORY_H_
6 #define CONTENT_BROWSER_PEPPER_CONTENT_BROWSER_PEPPER_HOST_FACTORY_H_
7
8 #include "base/compiler_specific.h"
9 #include "ppapi/host/host_factory.h"
10
11 class PepperMessageFilter;
12
13 namespace content {
14
15 class ContentBrowserPepperHostFactory : public ppapi::host::HostFactory {
16 public:
17 ContentBrowserPepperHostFactory(PepperMessageFilter* filter);
dmichael (off chromium) 2012/07/09 02:14:46 explicit ;-) Maybe worth mentioning the ownership
18 virtual ~ContentBrowserPepperHostFactory();
19
20 virtual scoped_ptr<ppapi::host::ResourceHost> CreateResourceHost(
21 ppapi::host::PpapiHost* host,
22 const ppapi::proxy::ResourceMessageCallParams& params,
23 PP_Instance instance,
24 const IPC::Message& message) OVERRIDE;
25
26 private:
27 PepperMessageFilter* filter_;
28
29 DISALLOW_COPY_AND_ASSIGN(ContentBrowserPepperHostFactory);
30 };
31
32 } // namespace content
33
34 #endif // CONTENT_BROWSER_PEPPER_CONTENT_BROWSER_PEPPER_HOST_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698