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

Side by Side Diff: content/renderer/gpu_channel_host.h

Issue 6793054: Moved code that runs in both the browser and GPU process from content/gpu to content/common/gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/gpu/x_util.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_GPU_CHANNEL_HOST_H_ 5 #ifndef CONTENT_RENDERER_GPU_CHANNEL_HOST_H_
6 #define CONTENT_RENDERER_GPU_CHANNEL_HOST_H_ 6 #define CONTENT_RENDERER_GPU_CHANNEL_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/hash_tables.h" 12 #include "base/hash_tables.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/process_util.h" 14 #include "base/process_util.h"
15 #include "content/common/gpu_info.h" 15 #include "content/common/gpu/gpu_info.h"
16 #include "content/common/message_router.h" 16 #include "content/common/message_router.h"
17 #include "ipc/ipc_channel_handle.h" 17 #include "ipc/ipc_channel_handle.h"
18 #include "ipc/ipc_sync_channel.h" 18 #include "ipc/ipc_sync_channel.h"
19 #include "ui/gfx/native_widget_types.h" 19 #include "ui/gfx/native_widget_types.h"
20 #include "ui/gfx/size.h" 20 #include "ui/gfx/size.h"
21 21
22 class CommandBufferProxy; 22 class CommandBufferProxy;
23 class GpuVideoServiceHost; 23 class GpuVideoServiceHost;
24 class GURL; 24 class GURL;
25 25
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 ProxyMap proxies_; 104 ProxyMap proxies_;
105 105
106 // This is a MessageFilter to intercept IPC messages and distribute them 106 // This is a MessageFilter to intercept IPC messages and distribute them
107 // to the corresponding GpuVideoDecoderHost. 107 // to the corresponding GpuVideoDecoderHost.
108 scoped_refptr<GpuVideoServiceHost> gpu_video_service_host_; 108 scoped_refptr<GpuVideoServiceHost> gpu_video_service_host_;
109 109
110 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); 110 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost);
111 }; 111 };
112 112
113 #endif // CONTENT_RENDERER_GPU_CHANNEL_HOST_H_ 113 #endif // CONTENT_RENDERER_GPU_CHANNEL_HOST_H_
OLDNEW
« no previous file with comments | « content/gpu/x_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698