OLD | NEW |
---|---|
(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_RENDERER_PEPPER_CONTENT_RENDERER_PEPPER_HOST_FACTORY_H_ | |
6 #define CONTENT_RENDERER_PEPPER_CONTENT_RENDERER_PEPPER_HOST_FACTORY_H_ | |
7 | |
8 #include "base/compiler_specific.h" | |
9 #include "ppapi/host/host_factory.h" | |
10 | |
11 class RenderViewImpl; | |
12 | |
13 namespace content { | |
14 | |
15 class ContentRendererPepperHostFactory : public ppapi::host::HostFactory { | |
16 public: | |
17 ContentRendererPepperHostFactory(RenderViewImpl* render_view); | |
dmichael (off chromium)
2012/07/02 19:34:57
nit: explicit
brettw
2012/07/03 16:52:54
You always get me on explicit!
dmichael (off chromium)
2012/07/03 17:08:52
I was starting to wonder if you leave them out jus
| |
18 virtual ~ContentRendererPepperHostFactory(); | |
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 RenderViewImpl* render_view_; | |
28 | |
29 DISALLOW_COPY_AND_ASSIGN(ContentRendererPepperHostFactory); | |
30 }; | |
31 | |
32 } // namespace content | |
33 | |
34 #endif // CONTENT_RENDERER_PEPPER_CONTENT_RENDERER_PEPPER_HOST_FACTORY_H_ | |
OLD | NEW |