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