OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_ | 5 #ifndef CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_ |
6 #define CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_ | 6 #define CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
16 #include "ipc/ipc_listener.h" | 16 #include "ipc/ipc_listener.h" |
17 #include "ipc/ipc_message.h" | 17 #include "ipc/ipc_message.h" |
18 #include "ui/events/latency_info.h" | 18 #include "ui/events/latency_info.h" |
19 #include "ui/gfx/geometry/rect.h" | 19 #include "ui/gfx/geometry/rect.h" |
| 20 #include "ui/gfx/geometry/size.h" |
20 #include "ui/gfx/native_widget_types.h" | 21 #include "ui/gfx/native_widget_types.h" |
21 #include "ui/gfx/size.h" | |
22 #include "ui/gl/gl_surface.h" | 22 #include "ui/gl/gl_surface.h" |
23 | 23 |
24 struct AcceleratedSurfaceMsg_BufferPresented_Params; | 24 struct AcceleratedSurfaceMsg_BufferPresented_Params; |
25 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; | 25 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; |
26 | 26 |
27 namespace gfx { | 27 namespace gfx { |
28 class GLSurface; | 28 class GLSurface; |
29 } | 29 } |
30 | 30 |
31 namespace gpu { | 31 namespace gpu { |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 bool did_set_swap_interval_; | 209 bool did_set_swap_interval_; |
210 std::vector<ui::LatencyInfo> latency_info_; | 210 std::vector<ui::LatencyInfo> latency_info_; |
211 base::WeakPtrFactory<PassThroughImageTransportSurface> weak_ptr_factory_; | 211 base::WeakPtrFactory<PassThroughImageTransportSurface> weak_ptr_factory_; |
212 | 212 |
213 DISALLOW_COPY_AND_ASSIGN(PassThroughImageTransportSurface); | 213 DISALLOW_COPY_AND_ASSIGN(PassThroughImageTransportSurface); |
214 }; | 214 }; |
215 | 215 |
216 } // namespace content | 216 } // namespace content |
217 | 217 |
218 #endif // CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_ | 218 #endif // CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_ |
OLD | NEW |