OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CC_LAYER_TREE_HOST_H_ | 5 #ifndef CC_LAYER_TREE_HOST_H_ |
6 #define CC_LAYER_TREE_HOST_H_ | 6 #define CC_LAYER_TREE_HOST_H_ |
7 | 7 |
8 #include <limits> | 8 #include <limits> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/cancelable_callback.h" | 11 #include "base/cancelable_callback.h" |
12 #include "base/hash_tables.h" | 12 #include "base/hash_tables.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/time.h" | 16 #include "base/time.h" |
17 #include "cc/animation_events.h" | 17 #include "cc/animation_events.h" |
18 #include "cc/cc_export.h" | 18 #include "cc/base/cc_export.h" |
| 19 #include "cc/base/scoped_ptr_vector.h" |
19 #include "cc/layer_tree_host_client.h" | 20 #include "cc/layer_tree_host_client.h" |
20 #include "cc/layer_tree_host_common.h" | 21 #include "cc/layer_tree_host_common.h" |
21 #include "cc/layer_tree_settings.h" | 22 #include "cc/layer_tree_settings.h" |
22 #include "cc/occlusion_tracker.h" | 23 #include "cc/occlusion_tracker.h" |
23 #include "cc/output_surface.h" | 24 #include "cc/output_surface.h" |
24 #include "cc/proxy.h" | 25 #include "cc/proxy.h" |
25 #include "cc/rate_limiter.h" | 26 #include "cc/rate_limiter.h" |
26 #include "cc/rendering_stats.h" | 27 #include "cc/rendering_stats.h" |
27 #include "cc/scoped_ptr_vector.h" | |
28 #include "skia/ext/refptr.h" | 28 #include "skia/ext/refptr.h" |
29 #include "third_party/skia/include/core/SkColor.h" | 29 #include "third_party/skia/include/core/SkColor.h" |
30 #include "third_party/skia/include/core/SkPicture.h" | 30 #include "third_party/skia/include/core/SkPicture.h" |
31 #include "ui/gfx/rect.h" | 31 #include "ui/gfx/rect.h" |
32 | 32 |
33 #if defined(COMPILER_GCC) | 33 #if defined(COMPILER_GCC) |
34 namespace BASE_HASH_NAMESPACE { | 34 namespace BASE_HASH_NAMESPACE { |
35 template <> | 35 template <> |
36 struct hash<WebKit::WebGraphicsContext3D*> { | 36 struct hash<WebKit::WebGraphicsContext3D*> { |
37 size_t operator()(WebKit::WebGraphicsContext3D* ptr) const { | 37 size_t operator()(WebKit::WebGraphicsContext3D* ptr) const { |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 size_t partial_texture_update_requests_; | 310 size_t partial_texture_update_requests_; |
311 | 311 |
312 scoped_ptr<AnimationRegistrar> animation_registrar_; | 312 scoped_ptr<AnimationRegistrar> animation_registrar_; |
313 | 313 |
314 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 314 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
315 }; | 315 }; |
316 | 316 |
317 } // namespace cc | 317 } // namespace cc |
318 | 318 |
319 #endif // CC_LAYER_TREE_HOST_H_ | 319 #endif // CC_LAYER_TREE_HOST_H_ |
OLD | NEW |