OLD | NEW |
1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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_LAYERS_LAYER_H_ | 5 #ifndef CC_LAYERS_LAYER_H_ |
6 #define CC_LAYERS_LAYER_H_ | 6 #define CC_LAYERS_LAYER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 #include <unordered_map> | 13 #include <unordered_map> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/callback.h" | 16 #include "base/callback.h" |
17 #include "base/macros.h" | 17 #include "base/macros.h" |
18 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
19 #include "base/observer_list.h" | 19 #include "base/observer_list.h" |
20 #include "cc/base/cc_export.h" | 20 #include "cc/base/filter_operations.h" |
21 #include "cc/base/region.h" | 21 #include "cc/base/region.h" |
| 22 #include "cc/cc_export.h" |
22 #include "cc/debug/micro_benchmark.h" | 23 #include "cc/debug/micro_benchmark.h" |
23 #include "cc/input/input_handler.h" | 24 #include "cc/input/input_handler.h" |
24 #include "cc/layers/layer_collections.h" | 25 #include "cc/layers/layer_collections.h" |
25 #include "cc/layers/layer_position_constraint.h" | 26 #include "cc/layers/layer_position_constraint.h" |
26 #include "cc/layers/paint_properties.h" | 27 #include "cc/layers/paint_properties.h" |
27 #include "cc/output/filter_operations.h" | |
28 #include "cc/paint/paint_record.h" | 28 #include "cc/paint/paint_record.h" |
29 #include "cc/trees/element_id.h" | 29 #include "cc/trees/element_id.h" |
30 #include "cc/trees/mutator_host_client.h" | 30 #include "cc/trees/mutator_host_client.h" |
31 #include "cc/trees/property_tree.h" | 31 #include "cc/trees/property_tree.h" |
32 #include "cc/trees/target_property.h" | 32 #include "cc/trees/target_property.h" |
33 #include "third_party/skia/include/core/SkColor.h" | 33 #include "third_party/skia/include/core/SkColor.h" |
34 #include "ui/gfx/geometry/point3_f.h" | 34 #include "ui/gfx/geometry/point3_f.h" |
35 #include "ui/gfx/geometry/rect.h" | 35 #include "ui/gfx/geometry/rect.h" |
36 #include "ui/gfx/geometry/rect_f.h" | 36 #include "ui/gfx/geometry/rect_f.h" |
37 #include "ui/gfx/geometry/scroll_offset.h" | 37 #include "ui/gfx/geometry/scroll_offset.h" |
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
642 // These all act like draw properties, so don't need push properties. | 642 // These all act like draw properties, so don't need push properties. |
643 gfx::Rect visible_layer_rect_; | 643 gfx::Rect visible_layer_rect_; |
644 size_t num_unclipped_descendants_; | 644 size_t num_unclipped_descendants_; |
645 | 645 |
646 DISALLOW_COPY_AND_ASSIGN(Layer); | 646 DISALLOW_COPY_AND_ASSIGN(Layer); |
647 }; | 647 }; |
648 | 648 |
649 } // namespace cc | 649 } // namespace cc |
650 | 650 |
651 #endif // CC_LAYERS_LAYER_H_ | 651 #endif // CC_LAYERS_LAYER_H_ |
OLD | NEW |