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

Unified Diff: cc/proto/property_tree.proto

Issue 2251303003: Implement position: sticky updates on compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with master and add comments to WebLayerStickyPositionConstraint members. Created 4 years, 3 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 | « cc/proto/layer_sticky_position_constraint.proto ('k') | cc/trees/layer_tree_host_common_unittest.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 0c60bcb0a4eec39c2395124075c4cb23487cf664..9ddff82913085abb6fcfe2c723a0021c885ac2a4 100644
--- a/cc/proto/property_tree.proto
+++ b/cc/proto/property_tree.proto
@@ -5,6 +5,7 @@
syntax = "proto2";
import "element_id.proto";
+import "layer_sticky_position_constraint.proto";
import "rectf.proto";
import "scroll_offset.proto";
import "size.proto";
@@ -68,6 +69,13 @@ message TransformCachedNodeData {
optional int64 content_target_id = 6;
}
+// Proto for StickyPositionNodeData
+message StickyPositionNodeData {
+ optional int64 scroll_ancestor = 1;
+ optional LayerStickyPositionConstraint constraints = 2;
+ optional Vector2dF main_thread_offset = 3;
+}
+
// Proto for struct ClipNodeData.
// NEXT ID: 13
message ClipNodeData {
@@ -199,6 +207,7 @@ message TransformTreeData {
repeated int64 nodes_affected_by_outer_viewport_bounds_delta = 8
[packed = true];
repeated TransformCachedNodeData cached_data = 9;
+ repeated StickyPositionNodeData sticky_position_data = 10;
}
// Proto for data members of class EffectTree.
« no previous file with comments | « cc/proto/layer_sticky_position_constraint.proto ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698