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_TREES_LAYER_TREE_HOST_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_ |
6 #define CC_TREES_LAYER_TREE_HOST_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_H_ |
7 | 7 |
8 #include <limits> | 8 #include <limits> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "cc/input/top_controls_state.h" | 23 #include "cc/input/top_controls_state.h" |
24 #include "cc/layers/layer_lists.h" | 24 #include "cc/layers/layer_lists.h" |
25 #include "cc/output/output_surface.h" | 25 #include "cc/output/output_surface.h" |
26 #include "cc/scheduler/rate_limiter.h" | 26 #include "cc/scheduler/rate_limiter.h" |
27 #include "cc/trees/layer_tree_host_client.h" | 27 #include "cc/trees/layer_tree_host_client.h" |
28 #include "cc/trees/layer_tree_host_common.h" | 28 #include "cc/trees/layer_tree_host_common.h" |
29 #include "cc/trees/layer_tree_settings.h" | 29 #include "cc/trees/layer_tree_settings.h" |
30 #include "cc/trees/occlusion_tracker.h" | 30 #include "cc/trees/occlusion_tracker.h" |
31 #include "cc/trees/proxy.h" | 31 #include "cc/trees/proxy.h" |
32 #include "skia/ext/refptr.h" | 32 #include "skia/ext/refptr.h" |
33 #include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbar.h" | 33 #include "third_party/WebKit/public/platform/WebScrollbar.h" |
34 #include "third_party/skia/include/core/SkColor.h" | 34 #include "third_party/skia/include/core/SkColor.h" |
35 #include "third_party/skia/include/core/SkPicture.h" | 35 #include "third_party/skia/include/core/SkPicture.h" |
36 #include "ui/gfx/rect.h" | 36 #include "ui/gfx/rect.h" |
37 | 37 |
38 #if defined(COMPILER_GCC) | 38 #if defined(COMPILER_GCC) |
39 namespace BASE_HASH_NAMESPACE { | 39 namespace BASE_HASH_NAMESPACE { |
40 template <> | 40 template <> |
41 struct hash<WebKit::WebGraphicsContext3D*> { | 41 struct hash<WebKit::WebGraphicsContext3D*> { |
42 size_t operator()(WebKit::WebGraphicsContext3D* ptr) const { | 42 size_t operator()(WebKit::WebGraphicsContext3D* ptr) const { |
43 return hash<size_t>()(reinterpret_cast<size_t>(ptr)); | 43 return hash<size_t>()(reinterpret_cast<size_t>(ptr)); |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 bool in_paint_layer_contents_; | 342 bool in_paint_layer_contents_; |
343 | 343 |
344 LatencyInfo latency_info_; | 344 LatencyInfo latency_info_; |
345 | 345 |
346 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 346 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
347 }; | 347 }; |
348 | 348 |
349 } // namespace cc | 349 } // namespace cc |
350 | 350 |
351 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 351 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
OLD | NEW |