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

Unified Diff: content/browser/gpu/gpu_process_host.h

Issue 9980016: Delete background tab IOSurfaces on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no change - update/merge Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
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);
};
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host.cc » ('j') | content/browser/renderer_host/render_widget_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698