| 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 "element_id.proto"; | 7 import "element_id.proto"; |
| 8 import "layer_sticky_position_constraint.proto"; | 8 import "layer_sticky_position_constraint.proto"; |
| 9 import "rectf.proto"; | 9 import "rectf.proto"; |
| 10 import "scroll_offset.proto"; | 10 import "scroll_offset.proto"; |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 // PropertyTree. Only one of these fields should be set, depending on the type | 181 // PropertyTree. Only one of these fields should be set, depending on the type |
| 182 // of this property tree. | 182 // of this property tree. |
| 183 optional TransformTreeData transform_tree_data = 1000; | 183 optional TransformTreeData transform_tree_data = 1000; |
| 184 optional ScrollTreeData scroll_tree_data = 1001; | 184 optional ScrollTreeData scroll_tree_data = 1001; |
| 185 optional EffectTreeData effect_tree_data = 1002; | 185 optional EffectTreeData effect_tree_data = 1002; |
| 186 } | 186 } |
| 187 | 187 |
| 188 message ScrollOffsetMapEntry { | 188 message ScrollOffsetMapEntry { |
| 189 required int64 layer_id = 1; | 189 required int64 layer_id = 1; |
| 190 optional SyncedProperty scroll_offset = 2; | 190 optional SyncedProperty scroll_offset = 2; |
| 191 optional ScrollOffset overscroll = 3; |
| 191 } | 192 } |
| 192 | 193 |
| 193 // Proto for data members of class ScrollTree | 194 // Proto for data members of class ScrollTree |
| 194 message ScrollTreeData { | 195 message ScrollTreeData { |
| 195 optional int64 currently_scrolling_node_id = 1; | 196 optional int64 currently_scrolling_node_id = 1; |
| 196 repeated ScrollOffsetMapEntry layer_id_to_scroll_offset_map = 2; | 197 repeated ScrollOffsetMapEntry layer_id_to_scroll_offset_map = 2; |
| 197 } | 198 } |
| 198 | 199 |
| 199 // Proto for data members of class TransformTree. | 200 // Proto for data members of class TransformTree. |
| 200 message TransformTreeData { | 201 message TransformTreeData { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 229 optional bool full_tree_damaged = 12; | 230 optional bool full_tree_damaged = 12; |
| 230 optional int64 sequence_number = 6; | 231 optional int64 sequence_number = 6; |
| 231 optional bool is_main_thread = 13; | 232 optional bool is_main_thread = 13; |
| 232 optional bool is_active = 14; | 233 optional bool is_active = 14; |
| 233 | 234 |
| 234 optional Vector2dF inner_viewport_container_bounds_delta = 8; | 235 optional Vector2dF inner_viewport_container_bounds_delta = 8; |
| 235 optional Vector2dF outer_viewport_container_bounds_delta = 9; | 236 optional Vector2dF outer_viewport_container_bounds_delta = 9; |
| 236 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; | 237 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; |
| 237 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; | 238 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; |
| 238 } | 239 } |
| OLD | NEW |