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

Unified Diff: cc/proto/property_tree.proto

Issue 1675963002: Move MaxScrollOffset to property_trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove comment. Created 4 years, 10 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/scrollbar_layer_unittest.cc ('k') | cc/test/layer_tree_host_common_test.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 abd271db732c20fde1d27a79761037279c5eb48a..578049f26e2ddbd23e79e3e208e157ce0aa77031 100644
--- a/cc/proto/property_tree.proto
+++ b/cc/proto/property_tree.proto
@@ -6,6 +6,7 @@ syntax = "proto2";
import "rectf.proto";
import "scroll_offset.proto";
+import "size.proto";
import "transform.proto";
import "vector2df.proto";
@@ -91,11 +92,16 @@ message EffectNodeData {
optional int64 clip_id = 10;
}
+// Proto for struct ScrollNodeData
message ScrollNodeData {
optional bool scrollable = 1;
optional int32 main_thread_scrolling_reasons = 2;
optional bool contains_non_fast_scrollable_region = 3;
- optional int64 transform_id = 4;
+ optional Size scroll_clip_layer_bounds = 4;
+ optional Size bounds = 5;
+ optional bool max_scroll_offset_affected_by_page_scale = 6;
+ optional bool is_inner_viewport_scroll_layer = 7;
+ optional bool is_outer_viewport_scroll_layer = 8;
}
// This defines the proto used for all types of struct TreeNode.
@@ -143,8 +149,6 @@ message TransformTreeData {
optional float page_scale_factor = 2;
optional float device_scale_factor = 3;
optional float device_transform_scale_factor = 4;
- optional Vector2dF inner_viewport_bounds_delta = 5;
- optional Vector2dF outer_viewport_bounds_delta = 6;
repeated int64 nodes_affected_by_inner_viewport_bounds_delta = 7
[packed = true];
repeated int64 nodes_affected_by_outer_viewport_bounds_delta = 8
@@ -152,6 +156,7 @@ message TransformTreeData {
}
// Proto for class PropertyTrees.
+// NEXT ID: 11
message PropertyTrees {
optional PropertyTree transform_tree = 1;
optional PropertyTree effect_tree = 2;
@@ -161,4 +166,8 @@ message PropertyTrees {
optional bool needs_rebuild = 4;
optional bool non_root_surfaces_enabled = 5;
optional int64 sequence_number = 6;
+
+ optional Vector2dF inner_viewport_container_bounds_delta = 8;
+ optional Vector2dF outer_viewport_container_bounds_delta = 9;
+ optional Vector2dF inner_viewport_scroll_bounds_delta = 10;
}
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/test/layer_tree_host_common_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698