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

Unified Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.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
Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
===================================================================
--- content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h (revision 163290)
+++ content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h (working copy)
@@ -24,11 +24,6 @@
#endif
class CommandBufferProxy;
-class GpuChannelHost;
-class GpuChannelHostFactory;
-struct GpuMemoryAllocationForRenderer;
-
-
namespace gpu {
class TransferBuffer;
@@ -54,6 +49,11 @@
using WebKit::WGC3Dintptr;
using WebKit::WGC3Dsizeiptr;
+namespace content {
+class GpuChannelHost;
+class GpuChannelHostFactory;
+struct GpuMemoryAllocationForRenderer;
+
// TODO(piman): move this logic to the compositor and remove it from the
// context...
class WebGraphicsContext3DSwapBuffersClient {
@@ -87,7 +87,7 @@
bool Initialize(const Attributes& attributes,
bool bind_generates_resources,
- content::CauseForGpuLaunch cause);
+ CauseForGpuLaunch cause);
// The following 3 IDs let one uniquely identify this context.
// Gets the GPU process ID for this context.
@@ -127,7 +127,7 @@
const WebGraphicsContext3D::Attributes& attributes,
bool bind_generates_resources,
const GURL& active_url,
- content::CauseForGpuLaunch cause);
+ CauseForGpuLaunch cause);
// Create & initialize a WebGraphicsContext3DCommandBufferImpl. Return NULL
// on any failure.
@@ -729,4 +729,6 @@
bool use_echo_for_swap_ack_;
};
+} // namespace content
+
#endif // CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698