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

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

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 | « chrome/renderer/ggl/ggl.h ('k') | chrome/renderer/mock_render_process.cc » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_RENDERER_GPU_CHANNEL_HOST_H_ 5 #ifndef CHROME_RENDERER_GPU_CHANNEL_HOST_H_
6 #define CHROME_RENDERER_GPU_CHANNEL_HOST_H_ 6 #define CHROME_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/scoped_ptr.h" 13 #include "base/scoped_ptr.h"
14 #include "chrome/common/gpu_info.h" 14 #include "chrome/common/gpu_info.h"
15 #include "chrome/common/message_router.h" 15 #include "chrome/common/message_router.h"
16 #include "gfx/native_widget_types.h"
17 #include "gfx/size.h"
18 #include "ipc/ipc_channel.h" 16 #include "ipc/ipc_channel.h"
19 #include "ipc/ipc_channel_handle.h" 17 #include "ipc/ipc_channel_handle.h"
20 #include "ipc/ipc_message.h" 18 #include "ipc/ipc_message.h"
21 #include "ipc/ipc_sync_channel.h" 19 #include "ipc/ipc_sync_channel.h"
20 #include "ui/gfx/native_widget_types.h"
21 #include "ui/gfx/size.h"
22 22
23 class CommandBufferProxy; 23 class CommandBufferProxy;
24 class GpuVideoServiceHost; 24 class GpuVideoServiceHost;
25 25
26 // Encapsulates an IPC channel between the renderer and one plugin process. 26 // Encapsulates an IPC channel between the renderer and one plugin process.
27 // On the plugin side there's a corresponding GpuChannel. 27 // On the plugin side there's a corresponding GpuChannel.
28 class GpuChannelHost : public IPC::Channel::Listener, 28 class GpuChannelHost : public IPC::Channel::Listener,
29 public IPC::Message::Sender, 29 public IPC::Message::Sender,
30 public base::RefCountedThreadSafe<GpuChannelHost> { 30 public base::RefCountedThreadSafe<GpuChannelHost> {
31 public: 31 public:
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 ProxyMap proxies_; 101 ProxyMap proxies_;
102 102
103 // This is a MessageFilter to intercept IPC messages and distribute them 103 // This is a MessageFilter to intercept IPC messages and distribute them
104 // to the corresponding GpuVideoDecoderHost. 104 // to the corresponding GpuVideoDecoderHost.
105 scoped_refptr<GpuVideoServiceHost> gpu_video_service_host_; 105 scoped_refptr<GpuVideoServiceHost> gpu_video_service_host_;
106 106
107 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); 107 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost);
108 }; 108 };
109 109
110 #endif // CHROME_RENDERER_GPU_CHANNEL_HOST_H_ 110 #endif // CHROME_RENDERER_GPU_CHANNEL_HOST_H_
OLDNEW
« no previous file with comments | « chrome/renderer/ggl/ggl.h ('k') | chrome/renderer/mock_render_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698