OLD | NEW |
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_SURFACE_PROXY_H_ | 5 #ifndef CONTENT_RENDERER_GPU_GPU_SURFACE_PROXY_H_ |
6 #define CONTENT_RENDERER_GPU_SURFACE_PROXY_H_ | 6 #define CONTENT_RENDERER_GPU_GPU_SURFACE_PROXY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #if defined(ENABLE_GPU) | 9 #if defined(ENABLE_GPU) |
10 | 10 |
11 #include "ipc/ipc_channel.h" | 11 #include "ipc/ipc_channel.h" |
12 #include "ipc/ipc_message.h" | 12 #include "ipc/ipc_message.h" |
13 | 13 |
14 namespace gfx { | 14 namespace gfx { |
15 class Size; | 15 class Size; |
16 } | 16 } |
(...skipping 18 matching lines...) Expand all Loading... |
35 bool Send(IPC::Message* msg); | 35 bool Send(IPC::Message* msg); |
36 | 36 |
37 IPC::Channel::Sender* channel_; | 37 IPC::Channel::Sender* channel_; |
38 int route_id_; | 38 int route_id_; |
39 | 39 |
40 DISALLOW_COPY_AND_ASSIGN(GpuSurfaceProxy); | 40 DISALLOW_COPY_AND_ASSIGN(GpuSurfaceProxy); |
41 }; | 41 }; |
42 | 42 |
43 #endif // ENABLE_GPU | 43 #endif // ENABLE_GPU |
44 | 44 |
45 #endif // CONTENT_RENDERER_GPU_SURFACE_PROXY_H_ | 45 #endif // CONTENT_RENDERER_GPU_GPU_SURFACE_PROXY_H_ |
OLD | NEW |