| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_IMPL_TEST_PROPERTIES_H_ | 5 #ifndef CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ |
| 6 #define CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ | 6 #define CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 bool force_render_surface; | 35 bool force_render_surface; |
| 36 bool is_container_for_fixed_position_layers; | 36 bool is_container_for_fixed_position_layers; |
| 37 bool should_flatten_transform; | 37 bool should_flatten_transform; |
| 38 bool hide_layer_and_subtree; | 38 bool hide_layer_and_subtree; |
| 39 bool opacity_can_animate; | 39 bool opacity_can_animate; |
| 40 int num_descendants_that_draw_content; | 40 int num_descendants_that_draw_content; |
| 41 size_t num_unclipped_descendants; | 41 size_t num_unclipped_descendants; |
| 42 float opacity; | 42 float opacity; |
| 43 FilterOperations filters; | 43 FilterOperations filters; |
| 44 FilterOperations background_filters; | 44 FilterOperations background_filters; |
| 45 gfx::PointF filters_origin; |
| 45 SkXfermode::Mode blend_mode; | 46 SkXfermode::Mode blend_mode; |
| 46 LayerPositionConstraint position_constraint; | 47 LayerPositionConstraint position_constraint; |
| 47 gfx::Point3F transform_origin; | 48 gfx::Point3F transform_origin; |
| 48 gfx::Transform transform; | 49 gfx::Transform transform; |
| 49 LayerImpl* scroll_parent; | 50 LayerImpl* scroll_parent; |
| 50 std::unique_ptr<std::set<LayerImpl*>> scroll_children; | 51 std::unique_ptr<std::set<LayerImpl*>> scroll_children; |
| 51 LayerImpl* clip_parent; | 52 LayerImpl* clip_parent; |
| 52 std::unique_ptr<std::set<LayerImpl*>> clip_children; | 53 std::unique_ptr<std::set<LayerImpl*>> clip_children; |
| 53 std::vector<std::unique_ptr<CopyOutputRequest>> copy_requests; | 54 std::vector<std::unique_ptr<CopyOutputRequest>> copy_requests; |
| 54 LayerImplList children; | 55 LayerImplList children; |
| 55 LayerImpl* mask_layer; | 56 LayerImpl* mask_layer; |
| 56 LayerImpl* replica_layer; | 57 LayerImpl* replica_layer; |
| 57 LayerImpl* parent; | 58 LayerImpl* parent; |
| 58 }; | 59 }; |
| 59 | 60 |
| 60 } // namespace cc | 61 } // namespace cc |
| 61 | 62 |
| 62 #endif // CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ | 63 #endif // CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ |
| OLD | NEW |