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

Unified Diff: gpu/ipc/command_buffer_proxy.h

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 2 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
« no previous file with comments | « content/worker/worker_webkitplatformsupport_impl.h ('k') | ppapi/proxy/ppapi_command_buffer_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/command_buffer_proxy.h
===================================================================
--- gpu/ipc/command_buffer_proxy.h (revision 163290)
+++ gpu/ipc/command_buffer_proxy.h (working copy)
@@ -11,7 +11,10 @@
#include "gpu/command_buffer/common/command_buffer.h"
#include "gpu/command_buffer/common/command_buffer_shared.h"
+// TODO(fsamuel): this is a layering violation. http://crbug.com/157175
+namespace content {
struct GpuMemoryAllocationForRenderer;
+}
// Client side proxy that forwards messages synchronously to a
// CommandBufferStub.
@@ -54,8 +57,8 @@
// Register a callback to invoke whenever we recieve a new memory allocation.
virtual void SetMemoryAllocationChangedCallback(
- const base::Callback<void(const GpuMemoryAllocationForRenderer&)>&
- callback) = 0;
+ const base::Callback<void(
+ const content::GpuMemoryAllocationForRenderer&)>& callback) = 0;
// Reparent a command buffer. TODO(apatrick): going forward, the notion of
// the parent / child relationship between command buffers is going away in
« no previous file with comments | « content/worker/worker_webkitplatformsupport_impl.h ('k') | ppapi/proxy/ppapi_command_buffer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698