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

Unified Diff: cc/proto/layer_sticky_position_constraint.proto

Issue 2401903002: Compute and include the offset of the sticky box to its enclosing composited layer. (Closed)
Patch Set: Merge with master and fix long line. Created 4 years, 2 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/layers/layer_sticky_position_constraint.cc ('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/layer_sticky_position_constraint.proto
diff --git a/cc/proto/layer_sticky_position_constraint.proto b/cc/proto/layer_sticky_position_constraint.proto
index 97d8fea1cc92506eb2dedc33128e59a00efb7d9c..fe9f962aff2e2704419c2c120866abeafebdefb7 100644
--- a/cc/proto/layer_sticky_position_constraint.proto
+++ b/cc/proto/layer_sticky_position_constraint.proto
@@ -4,6 +4,7 @@
syntax = "proto2";
+import "point.proto";
import "rect.proto";
import "transform.proto";
@@ -23,6 +24,7 @@ message LayerStickyPositionConstraint {
optional float top_offset = 8;
optional float bottom_offset = 9;
+ optional Point parent_relative_sticky_box_offset = 12;
optional Rect scroll_container_relative_sticky_box_rect = 10;
optional Rect scroll_container_relative_containing_block_rect = 11;
};
« no previous file with comments | « cc/layers/layer_sticky_position_constraint.cc ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698