summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gpu_process_host.h
diff options
context:
space:
mode:
authorbacker@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-21 18:37:37 +0000
committerbacker@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-21 18:37:37 +0000
commit9cf72aecda4f6c4279cbe397e6c133bbebb8c642 (patch)
treef8247c528f2a592f395cecc5217180cccbefd985 /chrome/browser/gpu_process_host.h
parent34609b27e746a43a75a8139b5a22fcb007c4c057 (diff)
downloadchromium_src-9cf72aecda4f6c4279cbe397e6c133bbebb8c642.zip
chromium_src-9cf72aecda4f6c4279cbe397e6c133bbebb8c642.tar.gz
chromium_src-9cf72aecda4f6c4279cbe397e6c133bbebb8c642.tar.bz2
Refactor GPUProcessHost to eliminate redundancy.
There was a lot of thread hopping from IO to UI back to IO to answer requests. This is was GpuProcessHostUIShim is for. Refactored to take advantage of it. BUG=none TEST=by hand and trybots Review URL: http://codereview.chromium.org/6374007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72161 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gpu_process_host.h')
-rw-r--r--chrome/browser/gpu_process_host.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/chrome/browser/gpu_process_host.h b/chrome/browser/gpu_process_host.h
index 5958a3b..8339f10 100644
--- a/chrome/browser/gpu_process_host.h
+++ b/chrome/browser/gpu_process_host.h
@@ -14,16 +14,10 @@
#include "chrome/browser/browser_child_process_host.h"
#include "gfx/native_widget_types.h"
-struct GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params;
-struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params;
class GpuBlacklist;
class GPUInfo;
class RenderMessageFilter;
-namespace gfx {
-class Size;
-}
-
namespace IPC {
struct ChannelHandle;
class Message;
@@ -84,20 +78,6 @@ class GpuProcessHost : public BrowserChildProcessHost,
void OnChannelEstablished(const IPC::ChannelHandle& channel_handle,
const GPUInfo& gpu_info);
void OnSynchronizeReply();
-#if defined(OS_LINUX)
- void OnGetViewXID(gfx::NativeViewId id, IPC::Message* reply_msg);
- void OnReleaseXID(unsigned long xid);
- void OnResizeXID(unsigned long xid, gfx::Size size, IPC::Message* reply_msg);
-#elif defined(OS_MACOSX)
- void OnAcceleratedSurfaceSetIOSurface(
- const GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params& params);
- void OnAcceleratedSurfaceBuffersSwapped(
- const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params);
-#elif defined(OS_WIN)
- void OnGetCompositorHostWindow(int renderer_id,
- int render_view_id,
- IPC::Message* reply_message);
-#endif
// Sends the response for establish channel request to the renderer.
void SendEstablishChannelReply(const IPC::ChannelHandle& channel,