OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 syntax = "proto2"; | 5 syntax = "proto2"; |
6 | 6 |
7 import "rectf.proto"; | 7 import "rectf.proto"; |
8 import "scroll_offset.proto"; | 8 import "scroll_offset.proto"; |
9 import "transform.proto"; | 9 import "transform.proto"; |
10 import "vector2df.proto"; | 10 import "vector2df.proto"; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 optional bool is_drawn = 6; | 86 optional bool is_drawn = 6; |
87 optional bool screen_space_opacity_is_animating = 7; | 87 optional bool screen_space_opacity_is_animating = 7; |
88 optional int64 num_copy_requests_in_subtree = 8; | 88 optional int64 num_copy_requests_in_subtree = 8; |
89 optional int64 transform_id = 9; | 89 optional int64 transform_id = 9; |
90 optional int64 clip_id = 10; | 90 optional int64 clip_id = 10; |
91 } | 91 } |
92 | 92 |
93 message ScrollNodeData { | 93 message ScrollNodeData { |
94 optional bool scrollable = 1; | 94 optional bool scrollable = 1; |
95 optional bool should_scroll_on_main_thread = 2; | 95 optional bool should_scroll_on_main_thread = 2; |
96 optional int32 scroll_blocks_on = 3; | 96 optional bool contains_non_fast_scrollable_region = 3; |
97 optional bool contains_non_fast_scrollable_region = 4; | 97 optional int64 transform_id = 4; |
98 optional int64 transform_id = 5; | |
99 } | 98 } |
100 | 99 |
101 // This defines the proto used for all types of struct TreeNode. | 100 // This defines the proto used for all types of struct TreeNode. |
102 message TreeNode { | 101 message TreeNode { |
103 // The following fields are the base TreeNode properties. This list | 102 // The following fields are the base TreeNode properties. This list |
104 // corresponds to the data members from struct TreeNode. | 103 // corresponds to the data members from struct TreeNode. |
105 optional int64 id = 1; | 104 optional int64 id = 1; |
106 optional int64 parent_id = 2; | 105 optional int64 parent_id = 2; |
107 optional int64 owner_id = 3; | 106 optional int64 owner_id = 3; |
108 | 107 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 [packed = true]; | 148 [packed = true]; |
150 repeated int64 nodes_affected_by_outer_viewport_bounds_delta = 8 | 149 repeated int64 nodes_affected_by_outer_viewport_bounds_delta = 8 |
151 [packed = true]; | 150 [packed = true]; |
152 } | 151 } |
153 | 152 |
154 // Proto for class PropertyTrees. | 153 // Proto for class PropertyTrees. |
155 message PropertyTrees { | 154 message PropertyTrees { |
156 optional PropertyTree transform_tree = 1; | 155 optional PropertyTree transform_tree = 1; |
157 optional PropertyTree effect_tree = 2; | 156 optional PropertyTree effect_tree = 2; |
158 optional PropertyTree clip_tree = 3; | 157 optional PropertyTree clip_tree = 3; |
159 optional PropertyTree scroll_tree = 4; | 158 optional PropertyTree scroll_tree = 7; |
160 | 159 |
161 optional bool needs_rebuild = 5; | 160 optional bool needs_rebuild = 4; |
162 optional bool non_root_surfaces_enabled = 6; | 161 optional bool non_root_surfaces_enabled = 5; |
163 optional int64 sequence_number = 7; | 162 optional int64 sequence_number = 6; |
164 } | 163 } |
OLD | NEW |