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

Unified Diff: content/common/gpu/client/gpu_channel_host.h

Issue 11267035: Fix layering violation where content is included by gpu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove NOTIMPLEMENTED entrypoints 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/gpu_channel_host.h
diff --git a/content/common/gpu/client/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h
index 8b68626581f703750aa2be041a77f4a9db865e15..38457e06634f2086992ff02359b80dfa4f65f321 100644
--- a/content/common/gpu/client/gpu_channel_host.h
+++ b/content/common/gpu/client/gpu_channel_host.h
@@ -27,7 +27,6 @@
#include "ui/gfx/size.h"
#include "ui/gl/gpu_preference.h"
-class CommandBufferProxy;
class GURL;
class MessageLoop;
class TransportTextureService;
@@ -113,18 +112,18 @@ class GpuChannelHost : public IPC::Sender,
virtual bool Send(IPC::Message* msg) OVERRIDE;
// Create and connect to a command buffer in the GPU process.
- CommandBufferProxy* CreateViewCommandBuffer(
+ CommandBufferProxyImpl* CreateViewCommandBuffer(
int32 surface_id,
- CommandBufferProxy* share_group,
+ CommandBufferProxyImpl* share_group,
const std::string& allowed_extensions,
const std::vector<int32>& attribs,
const GURL& active_url,
gfx::GpuPreference gpu_preference);
// Create and connect to a command buffer in the GPU process.
- CommandBufferProxy* CreateOffscreenCommandBuffer(
+ CommandBufferProxyImpl* CreateOffscreenCommandBuffer(
const gfx::Size& size,
- CommandBufferProxy* share_group,
+ CommandBufferProxyImpl* share_group,
const std::string& allowed_extensions,
const std::vector<int32>& attribs,
const GURL& active_url,
@@ -138,7 +137,7 @@ class GpuChannelHost : public IPC::Sender,
media::VideoDecodeAccelerator::Client* client);
// Destroy a command buffer created by this channel.
- void DestroyCommandBuffer(CommandBufferProxy* command_buffer);
+ void DestroyCommandBuffer(CommandBufferProxyImpl* command_buffer);
// Collect rendering stats from GPU process.
bool CollectRenderingStatsForSurface(
« no previous file with comments | « content/common/gpu/client/command_buffer_proxy_impl.h ('k') | content/common/gpu/client/gpu_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698