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

Unified Diff: content/browser/renderer_host/gpu_message_filter.h

Issue 10804031: Move more files into the content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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/renderer_host/gpu_message_filter.h
===================================================================
--- content/browser/renderer_host/gpu_message_filter.h (revision 147462)
+++ content/browser/renderer_host/gpu_message_filter.h (working copy)
@@ -17,22 +17,21 @@
class GpuProcessHost;
struct GPUCreateCommandBufferConfig;
-class RenderWidgetHelper;
namespace content {
+class RenderWidgetHelper;
struct GPUInfo;
-} // namespace content
// A message filter for messages from the renderer to the GpuProcessHost(UIShim)
// in the browser. Such messages are typically destined for the GPU process,
// but need to be mediated by the browser.
-class GpuMessageFilter : public content::BrowserMessageFilter,
+class GpuMessageFilter : public BrowserMessageFilter,
public base::SupportsWeakPtr<GpuMessageFilter> {
public:
GpuMessageFilter(int render_process_id,
RenderWidgetHelper* render_widget_helper);
- // content::BrowserMessageFilter methods:
+ // BrowserMessageFilter methods:
virtual bool OnMessageReceived(const IPC::Message& message,
bool* message_was_ok) OVERRIDE;
@@ -41,14 +40,14 @@
void SurfaceUpdated(int32 surface_id);
private:
- friend class content::BrowserThread;
+ friend class BrowserThread;
friend class base::DeleteHelper<GpuMessageFilter>;
struct CreateViewCommandBufferRequest;
virtual ~GpuMessageFilter();
// Message handlers called on the browser IO thread:
- void OnEstablishGpuChannel(content::CauseForGpuLaunch,
+ void OnEstablishGpuChannel(CauseForGpuLaunch,
IPC::Message* reply);
void OnCreateViewCommandBuffer(
int32 surface_id,
@@ -57,7 +56,7 @@
// Helper callbacks for the message handlers.
void EstablishChannelCallback(IPC::Message* reply,
const IPC::ChannelHandle& channel,
- const content::GPUInfo& gpu_info);
+ const GPUInfo& gpu_info);
void CreateCommandBufferCallback(IPC::Message* reply, int32 route_id);
int gpu_process_id_;
@@ -70,4 +69,6 @@
DISALLOW_COPY_AND_ASSIGN(GpuMessageFilter);
};
+} // namespace content
+
#endif // CONTENT_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_
« no previous file with comments | « content/browser/renderer_host/compositing_iosurface_mac.mm ('k') | content/browser/renderer_host/gpu_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698