| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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: 14 | 80 // NEXT ID: 14 |
| 81 message ClipNodeData { | 81 message ClipNodeData { |
| 82 enum ClipType { | 82 enum ClipType { |
| 83 NONE = 1; | 83 NONE = 1; |
| 84 APPLIES_LOCAL_CLIP = 2; | 84 APPLIES_LOCAL_CLIP = 2; |
| 85 EXPANDS_CLIP = 3; |
| 85 } | 86 } |
| 86 optional ClipType clip_type = 13; | 87 optional ClipType clip_type = 13; |
| 87 optional RectF clip = 1; | 88 optional RectF clip = 1; |
| 88 optional RectF combined_clip_in_target_space = 2; | 89 optional RectF combined_clip_in_target_space = 2; |
| 89 optional RectF clip_in_target_space = 3; | 90 optional RectF clip_in_target_space = 3; |
| 90 | 91 |
| 91 optional int64 transform_id = 4; | 92 optional int64 transform_id = 4; |
| 92 optional int64 target_transform_id = 5; | 93 optional int64 target_transform_id = 5; |
| 93 optional int64 target_effect_id = 12; | 94 optional int64 target_effect_id = 12; |
| 94 optional bool applies_local_clip = 6; | 95 optional bool applies_local_clip = 6; |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 optional bool full_tree_damaged = 12; | 233 optional bool full_tree_damaged = 12; |
| 233 optional int64 sequence_number = 6; | 234 optional int64 sequence_number = 6; |
| 234 optional bool is_main_thread = 13; | 235 optional bool is_main_thread = 13; |
| 235 optional bool is_active = 14; | 236 optional bool is_active = 14; |
| 236 | 237 |
| 237 optional Vector2dF inner_viewport_container_bounds_delta = 8; | 238 optional Vector2dF inner_viewport_container_bounds_delta = 8; |
| 238 optional Vector2dF outer_viewport_container_bounds_delta = 9; | 239 optional Vector2dF outer_viewport_container_bounds_delta = 9; |
| 239 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; | 240 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; |
| 240 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; | 241 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; |
| 241 } | 242 } |
| OLD | NEW |