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

Unified Diff: cc/proto/property_tree.proto

Issue 2032213002: cc: Put to_target and to_screen behind an accessor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proto/property_tree.proto
diff --git a/cc/proto/property_tree.proto b/cc/proto/property_tree.proto
index 12dd474ffaf87674d5d42b2232f0e69922fa8a1d..38cd5a946098606e0fe143141ec07e72da4f3418 100644
--- a/cc/proto/property_tree.proto
+++ b/cc/proto/property_tree.proto
@@ -25,13 +25,7 @@ message TranformNodeData {
optional Transform local = 2;
optional Transform post_local = 3;
optional Transform to_parent = 4;
- optional Transform to_target = 5;
- optional Transform from_target = 6;
- optional Transform to_screen = 7;
- optional Transform from_screen = 8;
- optional int64 target_id = 9;
- optional int64 content_target_id = 10;
optional int64 source_node_id = 11;
optional bool needs_local_transform_update = 12;
optional bool node_and_ancestors_are_animated_or_invertible = 41;
@@ -67,6 +61,16 @@ message TranformNodeData {
optional int64 sorting_context_id = 39;
}
+// Proto for TransformCachedNodeData
+message TransformCachedNodeData {
+ optional Transform from_target = 1;
+ optional Transform to_target = 2;
+ optional Transform from_screen = 3;
+ optional Transform to_screen = 4;
+ optional int64 target_id = 5;
+ optional int64 content_target_id = 6;
+}
+
// Proto for struct ClipNodeData.
// NEXT ID: 12
message ClipNodeData {
@@ -185,6 +189,7 @@ message TransformTreeData {
[packed = true];
repeated int64 nodes_affected_by_outer_viewport_bounds_delta = 8
[packed = true];
+ repeated TransformCachedNodeData cached_data = 9;
}
// Proto for class PropertyTrees.
« no previous file with comments | « no previous file | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698