| 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 14 matching lines...) Expand all Loading... |
| 25 struct CC_EXPORT LayerImplTestProperties { | 25 struct CC_EXPORT LayerImplTestProperties { |
| 26 explicit LayerImplTestProperties(LayerImpl* owning_layer); | 26 explicit LayerImplTestProperties(LayerImpl* owning_layer); |
| 27 ~LayerImplTestProperties(); | 27 ~LayerImplTestProperties(); |
| 28 | 28 |
| 29 void AddChild(std::unique_ptr<LayerImpl> child); | 29 void AddChild(std::unique_ptr<LayerImpl> child); |
| 30 std::unique_ptr<LayerImpl> RemoveChild(LayerImpl* child); | 30 std::unique_ptr<LayerImpl> RemoveChild(LayerImpl* child); |
| 31 void SetMaskLayer(std::unique_ptr<LayerImpl> mask); | 31 void SetMaskLayer(std::unique_ptr<LayerImpl> mask); |
| 32 | 32 |
| 33 LayerImpl* owning_layer; | 33 LayerImpl* owning_layer; |
| 34 bool double_sided; | 34 bool double_sided; |
| 35 bool cache_render_surface; |
| 35 bool force_render_surface; | 36 bool force_render_surface; |
| 36 bool is_container_for_fixed_position_layers; | 37 bool is_container_for_fixed_position_layers; |
| 37 bool should_flatten_transform; | 38 bool should_flatten_transform; |
| 38 bool hide_layer_and_subtree; | 39 bool hide_layer_and_subtree; |
| 39 bool opacity_can_animate; | 40 bool opacity_can_animate; |
| 40 bool subtree_has_copy_request; | 41 bool subtree_has_copy_request; |
| 41 int sorting_context_id; | 42 int sorting_context_id; |
| 42 float opacity; | 43 float opacity; |
| 43 FilterOperations filters; | 44 FilterOperations filters; |
| 44 FilterOperations background_filters; | 45 FilterOperations background_filters; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 56 LayerImplList children; | 57 LayerImplList children; |
| 57 LayerImpl* mask_layer; | 58 LayerImpl* mask_layer; |
| 58 LayerImpl* parent; | 59 LayerImpl* parent; |
| 59 bool user_scrollable_horizontal = true; | 60 bool user_scrollable_horizontal = true; |
| 60 bool user_scrollable_vertical = true; | 61 bool user_scrollable_vertical = true; |
| 61 }; | 62 }; |
| 62 | 63 |
| 63 } // namespace cc | 64 } // namespace cc |
| 64 | 65 |
| 65 #endif // CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ | 66 #endif // CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ |
| OLD | NEW |