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