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 #include "content/renderer/pepper/content_renderer_pepper_host_factory.h" |
| 6 |
| 7 #include "ppapi/host/resource_host.h" |
| 8 #include "ppapi/proxy/ppapi_messages.h" |
| 9 |
| 10 using ppapi::host::ResourceHost; |
| 11 |
| 12 namespace content { |
| 13 |
| 14 ContentRendererPepperHostFactory::ContentRendererPepperHostFactory( |
| 15 RenderViewImpl* render_view) |
| 16 : render_view_(render_view) { |
| 17 } |
| 18 |
| 19 ContentRendererPepperHostFactory::~ContentRendererPepperHostFactory() { |
| 20 } |
| 21 |
| 22 scoped_ptr<ResourceHost> ContentRendererPepperHostFactory::CreateResourceHost( |
| 23 ppapi::host::PpapiHost* host, |
| 24 const ppapi::proxy::ResourceMessageCallParams& params, |
| 25 PP_Instance instance, |
| 26 const IPC::Message& message) { |
| 27 // TODO(brettw) host creation goes here. |
| 28 return scoped_ptr<ResourceHost>(); |
| 29 } |
| 30 |
| 31 } // namespace content |
OLD | NEW |