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_MEDIA_RENDERING_HELPER_H_ | 5 #ifndef CONTENT_COMMON_GPU_MEDIA_RENDERING_HELPER_H_ |
6 #define CONTENT_COMMON_GPU_MEDIA_RENDERING_HELPER_H_ | 6 #define CONTENT_COMMON_GPU_MEDIA_RENDERING_HELPER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <map> | 11 #include <map> |
| 12 #include <memory> |
12 #include <queue> | 13 #include <queue> |
13 #include <vector> | 14 #include <vector> |
14 | 15 |
15 #include "base/cancelable_callback.h" | 16 #include "base/cancelable_callback.h" |
16 #include "base/macros.h" | 17 #include "base/macros.h" |
17 #include "base/time/time.h" | 18 #include "base/time/time.h" |
18 #include "build/build_config.h" | 19 #include "build/build_config.h" |
19 #include "ui/gfx/geometry/rect.h" | 20 #include "ui/gfx/geometry/rect.h" |
20 #include "ui/gfx/geometry/size.h" | 21 #include "ui/gfx/geometry/size.h" |
21 #include "ui/gl/gl_bindings.h" | 22 #include "ui/gl/gl_bindings.h" |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 base::CancelableClosure render_task_; | 221 base::CancelableClosure render_task_; |
221 base::TimeTicks vsync_timebase_; | 222 base::TimeTicks vsync_timebase_; |
222 base::TimeDelta vsync_interval_; | 223 base::TimeDelta vsync_interval_; |
223 | 224 |
224 DISALLOW_COPY_AND_ASSIGN(RenderingHelper); | 225 DISALLOW_COPY_AND_ASSIGN(RenderingHelper); |
225 }; | 226 }; |
226 | 227 |
227 } // namespace content | 228 } // namespace content |
228 | 229 |
229 #endif // CONTENT_COMMON_GPU_MEDIA_RENDERING_HELPER_H_ | 230 #endif // CONTENT_COMMON_GPU_MEDIA_RENDERING_HELPER_H_ |
OLD | NEW |