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

Side by Side Diff: chrome/renderer/pepper/chrome_renderer_pepper_host_factory.h

Issue 10803050: Hook up the PPB_Flash_Print interface to new host system. (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 CHROME_RENDERER_PEPPER_CHROME_RENDERER_PEPPER_HOST_FACTORY_H_
6 #define CHROME_RENDERER_PEPPER_CHROME_RENDERER_PEPPER_HOST_FACTORY_H_
7
8 #include "base/compiler_specific.h"
9 #include "ppapi/host/host_factory.h"
10 #include "ppapi/shared_impl/ppapi_permissions.h"
11
12 namespace chrome {
13
14 class PepperInstanceStateAccessor;
15
16 class ChromeRendererPepperHostFactory
17 : public ppapi::host::HostFactory {
dmichael (off chromium) 2012/07/25 16:57:27 nit: it looks like your base class could fit on th
18 public:
19 explicit ChromeRendererPepperHostFactory();
dmichael (off chromium) 2012/07/25 16:57:27 nit: explicit is unnecessary
20 virtual ~ChromeRendererPepperHostFactory();
21
22 // HostFactory.
23 virtual scoped_ptr<ppapi::host::ResourceHost> CreateResourceHost(
24 ppapi::host::PpapiHost* host,
25 const ppapi::proxy::ResourceMessageCallParams& params,
26 PP_Instance instance,
27 const IPC::Message& message) OVERRIDE;
28
29 private:
30 DISALLOW_COPY_AND_ASSIGN(ChromeRendererPepperHostFactory);
31 };
32
33 } // namespace chrome
34
35 #endif // CHROME_RENDERER_PEPPER_CHROME_RENDERER_PEPPER_HOST_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698