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

Unified Diff: content/renderer/gpu_surface_proxy.h

Issue 7066035: Moved GPU related files in content/renderer into gpu subdirectory. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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/renderer/gpu_channel_host.cc ('k') | content/renderer/gpu_surface_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu_surface_proxy.h
===================================================================
--- content/renderer/gpu_surface_proxy.h (revision 86484)
+++ content/renderer/gpu_surface_proxy.h (working copy)
@@ -1,45 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_RENDERER_GPU_SURFACE_PROXY_H_
-#define CONTENT_RENDERER_GPU_SURFACE_PROXY_H_
-#pragma once
-
-#if defined(ENABLE_GPU)
-
-#include "ipc/ipc_channel.h"
-#include "ipc/ipc_message.h"
-
-namespace gfx {
-class Size;
-}
-
-// Client side proxy that forwards messages to a GpuSurfaceStub.
-class GpuSurfaceProxy : public IPC::Channel::Listener {
- public:
- GpuSurfaceProxy(IPC::Channel::Sender* channel, int route_id);
- virtual ~GpuSurfaceProxy();
-
- // IPC::Channel::Listener implementation:
- virtual bool OnMessageReceived(const IPC::Message& message);
- virtual void OnChannelError();
-
- int route_id() const { return route_id_; }
-
- private:
-
- // Send an IPC message over the GPU channel. This is private to fully
- // encapsulate the channel; all callers of this function must explicitly
- // verify that the channel is still available.
- bool Send(IPC::Message* msg);
-
- IPC::Channel::Sender* channel_;
- int route_id_;
-
- DISALLOW_COPY_AND_ASSIGN(GpuSurfaceProxy);
-};
-
-#endif // ENABLE_GPU
-
-#endif // CONTENT_RENDERER_GPU_SURFACE_PROXY_H_
« no previous file with comments | « content/renderer/gpu_channel_host.cc ('k') | content/renderer/gpu_surface_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698