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

Side by Side Diff: chrome/gpu/gpu_channel.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/default_plugin/plugin_impl_mac.h ('k') | chrome/gpu/gpu_command_buffer_stub.h » ('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_GPU_GPU_CHANNEL_H_ 5 #ifndef CHROME_GPU_GPU_CHANNEL_H_
6 #define CHROME_GPU_GPU_CHANNEL_H_ 6 #define CHROME_GPU_GPU_CHANNEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/id_map.h" 13 #include "base/id_map.h"
14 #include "base/scoped_open_process.h" 14 #include "base/scoped_open_process.h"
15 #include "base/scoped_ptr.h" 15 #include "base/scoped_ptr.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "chrome/common/gpu_create_command_buffer_config.h" 17 #include "chrome/common/gpu_create_command_buffer_config.h"
18 #include "chrome/common/gpu_video_common.h" 18 #include "chrome/common/gpu_video_common.h"
19 #include "chrome/common/message_router.h" 19 #include "chrome/common/message_router.h"
20 #include "chrome/gpu/gpu_command_buffer_stub.h" 20 #include "chrome/gpu/gpu_command_buffer_stub.h"
21 #include "gfx/native_widget_types.h"
22 #include "gfx/size.h"
23 #include "ipc/ipc_channel.h" 21 #include "ipc/ipc_channel.h"
24 #include "ipc/ipc_message.h" 22 #include "ipc/ipc_message.h"
25 #include "ipc/ipc_sync_channel.h" 23 #include "ipc/ipc_sync_channel.h"
24 #include "ui/gfx/native_widget_types.h"
25 #include "ui/gfx/size.h"
26 26
27 class GpuThread; 27 class GpuThread;
28 28
29 // Encapsulates an IPC channel between the GPU process and one renderer 29 // Encapsulates an IPC channel between the GPU process and one renderer
30 // process. On the renderer side there's a corresponding GpuChannelHost. 30 // process. On the renderer side there's a corresponding GpuChannelHost.
31 class GpuChannel : public IPC::Channel::Listener, 31 class GpuChannel : public IPC::Channel::Listener,
32 public IPC::Message::Sender, 32 public IPC::Message::Sender,
33 public base::RefCountedThreadSafe<GpuChannel> { 33 public base::RefCountedThreadSafe<GpuChannel> {
34 public: 34 public:
35 GpuChannel(GpuThread* gpu_thread, int renderer_id); 35 GpuChannel(GpuThread* gpu_thread, int renderer_id);
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 std::set<int32> destroyed_renderer_routes_; 115 std::set<int32> destroyed_renderer_routes_;
116 #endif // defined (OS_MACOSX) 116 #endif // defined (OS_MACOSX)
117 #endif // defined (ENABLE_GPU) 117 #endif // defined (ENABLE_GPU)
118 118
119 bool log_messages_; // True if we should log sent and received messages. 119 bool log_messages_; // True if we should log sent and received messages.
120 120
121 DISALLOW_COPY_AND_ASSIGN(GpuChannel); 121 DISALLOW_COPY_AND_ASSIGN(GpuChannel);
122 }; 122 };
123 123
124 #endif // CHROME_GPU_GPU_CHANNEL_H_ 124 #endif // CHROME_GPU_GPU_CHANNEL_H_
OLDNEW
« no previous file with comments | « chrome/default_plugin/plugin_impl_mac.h ('k') | chrome/gpu/gpu_command_buffer_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698