Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: cc/trees/property_tree.h

Issue 2762043005: cc : Delete target id and content target id from transform nodes (Closed)
Patch Set: blink changes Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/trees/draw_property_utils.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 int dest_id, 281 int dest_id,
282 gfx::Transform* transform) const; 282 gfx::Transform* transform) const;
283 283
284 private: 284 private:
285 // Returns true iff the node at |desc_id| is a descendant of the node at 285 // Returns true iff the node at |desc_id| is a descendant of the node at
286 // |anc_id|. 286 // |anc_id|.
287 bool IsDescendant(int desc_id, int anc_id) const; 287 bool IsDescendant(int desc_id, int anc_id) const;
288 288
289 void UpdateLocalTransform(TransformNode* node); 289 void UpdateLocalTransform(TransformNode* node);
290 void UpdateScreenSpaceTransform(TransformNode* node, 290 void UpdateScreenSpaceTransform(TransformNode* node,
291 TransformNode* parent_node, 291 TransformNode* parent_node);
292 TransformNode* target_node);
293 void UpdateAnimationProperties(TransformNode* node, 292 void UpdateAnimationProperties(TransformNode* node,
294 TransformNode* parent_node); 293 TransformNode* parent_node);
295 void UndoSnapping(TransformNode* node); 294 void UndoSnapping(TransformNode* node);
296 void UpdateSnapping(TransformNode* node); 295 void UpdateSnapping(TransformNode* node);
297 void UpdateNodeAndAncestorsHaveIntegerTranslations( 296 void UpdateNodeAndAncestorsHaveIntegerTranslations(
298 TransformNode* node, 297 TransformNode* node,
299 TransformNode* parent_node); 298 TransformNode* parent_node);
300 bool NeedsSourceToParentUpdate(TransformNode* node); 299 bool NeedsSourceToParentUpdate(TransformNode* node);
301 300
302 bool source_to_parent_updates_allowed_; 301 bool source_to_parent_updates_allowed_;
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 DrawTransforms& GetDrawTransforms(int transform_id, int effect_id) const; 701 DrawTransforms& GetDrawTransforms(int transform_id, int effect_id) const;
703 DrawTransformData& FetchDrawTransformsDataFromCache(int transform_id, 702 DrawTransformData& FetchDrawTransformsDataFromCache(int transform_id,
704 int effect_id) const; 703 int effect_id) const;
705 704
706 PropertyTreesCachedData cached_data_; 705 PropertyTreesCachedData cached_data_;
707 }; 706 };
708 707
709 } // namespace cc 708 } // namespace cc
710 709
711 #endif // CC_TREES_PROPERTY_TREE_H_ 710 #endif // CC_TREES_PROPERTY_TREE_H_
OLDNEW
« no previous file with comments | « cc/trees/draw_property_utils.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698