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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 } | 70 } |
71 | 71 |
72 // Proto for StickyPositionNodeData | 72 // Proto for StickyPositionNodeData |
73 message StickyPositionNodeData { | 73 message StickyPositionNodeData { |
74 optional int64 scroll_ancestor = 1; | 74 optional int64 scroll_ancestor = 1; |
75 optional LayerStickyPositionConstraint constraints = 2; | 75 optional LayerStickyPositionConstraint constraints = 2; |
76 optional Vector2dF main_thread_offset = 3; | 76 optional Vector2dF main_thread_offset = 3; |
77 } | 77 } |
78 | 78 |
79 // Proto for struct ClipNodeData. | 79 // Proto for struct ClipNodeData. |
80 // NEXT ID: 13 | 80 // NEXT ID: 14 |
81 message ClipNodeData { | 81 message ClipNodeData { |
| 82 enum ClipType { |
| 83 NONE = 1; |
| 84 APPLIES_LOCAL_CLIP = 2; |
| 85 } |
| 86 optional ClipType clip_type = 13; |
82 optional RectF clip = 1; | 87 optional RectF clip = 1; |
83 optional RectF combined_clip_in_target_space = 2; | 88 optional RectF combined_clip_in_target_space = 2; |
84 optional RectF clip_in_target_space = 3; | 89 optional RectF clip_in_target_space = 3; |
85 | 90 |
86 optional int64 transform_id = 4; | 91 optional int64 transform_id = 4; |
87 optional int64 target_transform_id = 5; | 92 optional int64 target_transform_id = 5; |
88 optional int64 target_effect_id = 12; | 93 optional int64 target_effect_id = 12; |
89 optional bool applies_local_clip = 6; | 94 optional bool applies_local_clip = 6; |
90 optional bool layer_clipping_uses_only_local_clip = 7; | 95 optional bool layer_clipping_uses_only_local_clip = 7; |
91 optional bool target_is_clipped = 8; | 96 optional bool target_is_clipped = 8; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 optional bool full_tree_damaged = 12; | 232 optional bool full_tree_damaged = 12; |
228 optional int64 sequence_number = 6; | 233 optional int64 sequence_number = 6; |
229 optional bool is_main_thread = 13; | 234 optional bool is_main_thread = 13; |
230 optional bool is_active = 14; | 235 optional bool is_active = 14; |
231 | 236 |
232 optional Vector2dF inner_viewport_container_bounds_delta = 8; | 237 optional Vector2dF inner_viewport_container_bounds_delta = 8; |
233 optional Vector2dF outer_viewport_container_bounds_delta = 9; | 238 optional Vector2dF outer_viewport_container_bounds_delta = 9; |
234 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; | 239 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; |
235 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; | 240 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; |
236 } | 241 } |
OLD | NEW |