| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PROPERTY_TREE_H_ | 5 #ifndef CC_TREES_PROPERTY_TREE_H_ |
| 6 #define CC_TREES_PROPERTY_TREE_H_ | 6 #define CC_TREES_PROPERTY_TREE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 bool is_drawn; | 284 bool is_drawn; |
| 285 // TODO(jaydasika) : Delete this after implementation of | 285 // TODO(jaydasika) : Delete this after implementation of |
| 286 // SetHideLayerAndSubtree is cleaned up. (crbug.com/595843) | 286 // SetHideLayerAndSubtree is cleaned up. (crbug.com/595843) |
| 287 bool subtree_hidden; | 287 bool subtree_hidden; |
| 288 bool has_potential_opacity_animation; | 288 bool has_potential_opacity_animation; |
| 289 bool is_currently_animating_opacity; | 289 bool is_currently_animating_opacity; |
| 290 // We need to track changes to effects on the compositor to compute damage | 290 // We need to track changes to effects on the compositor to compute damage |
| 291 // rect. | 291 // rect. |
| 292 bool effect_changed; | 292 bool effect_changed; |
| 293 int num_copy_requests_in_subtree; | 293 int num_copy_requests_in_subtree; |
| 294 bool has_unclipped_descendants; |
| 294 int transform_id; | 295 int transform_id; |
| 295 int clip_id; | 296 int clip_id; |
| 296 // Effect node id of which this effect contributes to. | 297 // Effect node id of which this effect contributes to. |
| 297 int target_id; | 298 int target_id; |
| 298 | 299 |
| 299 bool operator==(const EffectNodeData& other) const; | 300 bool operator==(const EffectNodeData& other) const; |
| 300 | 301 |
| 301 void ToProtobuf(proto::TreeNode* proto) const; | 302 void ToProtobuf(proto::TreeNode* proto) const; |
| 302 void FromProtobuf(const proto::TreeNode& proto); | 303 void FromProtobuf(const proto::TreeNode& proto); |
| 303 void AsValueInto(base::trace_event::TracedValue* value) const; | 304 void AsValueInto(base::trace_event::TracedValue* value) const; |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 | 711 |
| 711 private: | 712 private: |
| 712 gfx::Vector2dF inner_viewport_container_bounds_delta_; | 713 gfx::Vector2dF inner_viewport_container_bounds_delta_; |
| 713 gfx::Vector2dF outer_viewport_container_bounds_delta_; | 714 gfx::Vector2dF outer_viewport_container_bounds_delta_; |
| 714 gfx::Vector2dF inner_viewport_scroll_bounds_delta_; | 715 gfx::Vector2dF inner_viewport_scroll_bounds_delta_; |
| 715 }; | 716 }; |
| 716 | 717 |
| 717 } // namespace cc | 718 } // namespace cc |
| 718 | 719 |
| 719 #endif // CC_TREES_PROPERTY_TREE_H_ | 720 #endif // CC_TREES_PROPERTY_TREE_H_ |
| OLD | NEW |