| Index: content/browser/renderer_host/render_process_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
|
| index 1749c5d7eef614bfadc525ee2e98a2eea4bc796d..89b7255c1e3e285e1de196113afa0dd7f4b17f49 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.h
|
| +++ b/content/browser/renderer_host/render_process_host_impl.h
|
| @@ -22,6 +22,10 @@
|
| #include "ipc/ipc_platform_file.h"
|
| #include "mojo/public/cpp/bindings/interface_ptr.h"
|
|
|
| +#if defined(OS_MACOSX)
|
| +#include "base/mac/scoped_cftyperef.h"
|
| +#endif
|
| +
|
| struct ViewHostMsg_CompositorSurfaceBuffersSwapped_Params;
|
|
|
| namespace base {
|
| @@ -31,6 +35,7 @@ class MessageLoop;
|
|
|
| namespace gfx {
|
| class Size;
|
| +struct GpuMemoryBufferHandle;
|
| }
|
|
|
| namespace content {
|
| @@ -317,6 +322,15 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| void SendDisableAecDumpToRenderer();
|
| #endif
|
|
|
| + // GpuMemoryBuffer allocation handler.
|
| + void OnAllocateGpuMemoryBuffer(uint32 width,
|
| + uint32 height,
|
| + uint32 internalformat,
|
| + uint32 usage,
|
| + IPC::Message* reply);
|
| + void GpuMemoryBufferAllocated(IPC::Message* reply,
|
| + const gfx::GpuMemoryBufferHandle& handle);
|
| +
|
| scoped_ptr<MojoApplicationHost> mojo_application_host_;
|
| bool mojo_activation_required_;
|
|
|
| @@ -436,6 +450,10 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
|
|
| base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
|
|
|
| +#if defined(OS_MACOSX)
|
| + base::ScopedCFTypeRef<CFTypeRef> last_io_surface_;
|
| +#endif
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
|
| };
|
|
|
|
|