Chromium Code Reviews| Index: content/browser/gpu/gpu_process_host.h |
| diff --git a/content/browser/gpu/gpu_process_host.h b/content/browser/gpu/gpu_process_host.h |
| index f101c6c3d4ff940708b24da479df589db44e1705..13e5924a4cf1ebc10602898c6da873001fa4f182 100644 |
| --- a/content/browser/gpu/gpu_process_host.h |
| +++ b/content/browser/gpu/gpu_process_host.h |
| @@ -29,6 +29,7 @@ struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params; |
| struct GpuHostMsg_AcceleratedSurfaceRelease_Params; |
| class BrowserChildProcessHostImpl; |
| +class RenderWidgetHelper; |
| class GpuProcessHost : public content::BrowserChildProcessHostDelegate, |
| public IPC::Message::Sender, |
| @@ -117,6 +118,10 @@ class GpuProcessHost : public content::BrowserChildProcessHostDelegate, |
| void OnCommandBufferCreated(const int32 route_id); |
| void OnDestroyCommandBuffer(int32 surface_id); |
| +#if defined(OS_MACOSX) |
| + void OnAcceleratedSurfaceBuffersSwapped( |
| + const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params); |
| +#endif |
| #if defined(OS_WIN) && !defined(USE_AURA) |
| void OnAcceleratedSurfaceBuffersSwapped( |
| const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params); |
| @@ -188,6 +193,8 @@ class GpuProcessHost : public content::BrowserChildProcessHostDelegate, |
| scoped_ptr<BrowserChildProcessHostImpl> process_; |
| + std::map<int, scoped_refptr<RenderWidgetHelper> > render_widget_helpers_; |
|
darin (slow to review)
2012/04/23 16:47:14
this shouldn't be needed now, right?
jbates
2012/04/23 20:48:18
Done. Nice catch :)
|
| + |
| DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); |
| }; |