| Index: content/renderer/pepper/content_renderer_pepper_host_factory.h
|
| diff --git a/content/renderer/pepper/content_renderer_pepper_host_factory.h b/content/renderer/pepper/content_renderer_pepper_host_factory.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dbb36afb9304979db013720f10e5a73c5419fb01
|
| --- /dev/null
|
| +++ b/content/renderer/pepper/content_renderer_pepper_host_factory.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_RENDERER_PEPPER_CONTENT_RENDERER_PEPPER_HOST_FACTORY_H_
|
| +#define CONTENT_RENDERER_PEPPER_CONTENT_RENDERER_PEPPER_HOST_FACTORY_H_
|
| +
|
| +#include "base/compiler_specific.h"
|
| +#include "ppapi/host/host_factory.h"
|
| +
|
| +class RenderViewImpl;
|
| +
|
| +namespace content {
|
| +
|
| +class ContentRendererPepperHostFactory : public ppapi::host::HostFactory {
|
| + public:
|
| + explicit ContentRendererPepperHostFactory(RenderViewImpl* render_view);
|
| + virtual ~ContentRendererPepperHostFactory();
|
| +
|
| + virtual scoped_ptr<ppapi::host::ResourceHost> CreateResourceHost(
|
| + ppapi::host::PpapiHost* host,
|
| + const ppapi::proxy::ResourceMessageCallParams& params,
|
| + PP_Instance instance,
|
| + const IPC::Message& message) OVERRIDE;
|
| +
|
| + private:
|
| + RenderViewImpl* render_view_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ContentRendererPepperHostFactory);
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_RENDERER_PEPPER_CONTENT_RENDERER_PEPPER_HOST_FACTORY_H_
|
|
|