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

Unified Diff: content/common/gpu/image_transport_surface.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/common/gpu/gpu_watchdog.h ('k') | content/common/gpu/image_transport_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/image_transport_surface.h
===================================================================
--- content/common/gpu/image_transport_surface.h (revision 163290)
+++ content/common/gpu/image_transport_surface.h (working copy)
@@ -22,9 +22,6 @@
#include "ui/gl/gl_surface.h"
#include "ui/surface/transport_dib.h"
-class GpuChannelManager;
-class GpuCommandBufferStub;
-
struct GpuHostMsg_AcceleratedSurfaceNew_Params;
struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params;
struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params;
@@ -42,6 +39,10 @@
}
}
+namespace content {
+class GpuChannelManager;
+class GpuCommandBufferStub;
+
// The GPU process is agnostic as to how it displays results. On some platforms
// it renders directly to window. On others it renders offscreen and transports
// the results to the browser process to display. This file provides a simple
@@ -193,6 +194,8 @@
DISALLOW_COPY_AND_ASSIGN(PassThroughImageTransportSurface);
};
+} // namespace content
+
#endif // defined(ENABLE_GPU)
#endif // CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_
« no previous file with comments | « content/common/gpu/gpu_watchdog.h ('k') | content/common/gpu/image_transport_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698