| 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 "rectf.proto"; | 8 import "rectf.proto"; |
| 9 import "scroll_offset.proto"; | 9 import "scroll_offset.proto"; |
| 10 import "size.proto"; | 10 import "size.proto"; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 optional int64 target_id = 5; | 78 optional int64 target_id = 5; |
| 79 optional bool applies_local_clip = 6; | 79 optional bool applies_local_clip = 6; |
| 80 optional bool layer_clipping_uses_only_local_clip = 7; | 80 optional bool layer_clipping_uses_only_local_clip = 7; |
| 81 optional bool target_is_clipped = 8; | 81 optional bool target_is_clipped = 8; |
| 82 optional bool layers_are_clipped = 9; | 82 optional bool layers_are_clipped = 9; |
| 83 optional bool layers_are_clipped_when_surfaces_disabled = 10; | 83 optional bool layers_are_clipped_when_surfaces_disabled = 10; |
| 84 optional bool resets_clip = 11; | 84 optional bool resets_clip = 11; |
| 85 } | 85 } |
| 86 | 86 |
| 87 // Proto for struct EffectNodeData. | 87 // Proto for struct EffectNodeData. |
| 88 // NEXT ID: 20 | 88 // NEXT ID: 21 |
| 89 message EffectNodeData { | 89 message EffectNodeData { |
| 90 optional float opacity = 1; | 90 optional float opacity = 1; |
| 91 optional float screen_space_opacity = 2; | 91 optional float screen_space_opacity = 2; |
| 92 optional bool has_render_surface = 3; | 92 optional bool has_render_surface = 3; |
| 93 optional bool has_copy_request = 4; | 93 optional bool has_copy_request = 4; |
| 94 optional bool hidden_by_backface_visibility = 14; | 94 optional bool hidden_by_backface_visibility = 14; |
| 95 optional bool double_sided = 13; | 95 optional bool double_sided = 13; |
| 96 optional bool is_drawn = 6; | 96 optional bool is_drawn = 6; |
| 97 optional bool subtree_hidden = 15; | 97 optional bool subtree_hidden = 15; |
| 98 optional bool has_potential_opacity_animation = 7; | 98 optional bool has_potential_opacity_animation = 7; |
| 99 optional bool is_currently_animating_opacity = 16; | 99 optional bool is_currently_animating_opacity = 16; |
| 100 optional bool effect_changed = 11; | 100 optional bool effect_changed = 11; |
| 101 optional int64 num_copy_requests_in_subtree = 8; | 101 optional int64 num_copy_requests_in_subtree = 8; |
| 102 optional int64 transform_id = 9; | 102 optional int64 transform_id = 9; |
| 103 optional int64 clip_id = 10; | 103 optional int64 clip_id = 10; |
| 104 optional int64 target_id = 12; | 104 optional int64 target_id = 12; |
| 105 optional int64 mask_layer_id = 17; | 105 optional int64 mask_layer_id = 17; |
| 106 optional int64 replica_layer_id = 18; | 106 optional int64 replica_layer_id = 18; |
| 107 optional int64 replica_mask_layer_id = 19; | 107 optional int64 replica_mask_layer_id = 19; |
| 108 optional Vector2dF sublayer_scale = 20; |
| 108 } | 109 } |
| 109 | 110 |
| 110 // Proto for struct ScrollNodeData | 111 // Proto for struct ScrollNodeData |
| 111 // NEXT ID: 16 | 112 // NEXT ID: 16 |
| 112 message ScrollNodeData { | 113 message ScrollNodeData { |
| 113 optional bool scrollable = 1; | 114 optional bool scrollable = 1; |
| 114 optional int32 main_thread_scrolling_reasons = 2; | 115 optional int32 main_thread_scrolling_reasons = 2; |
| 115 optional bool contains_non_fast_scrollable_region = 3; | 116 optional bool contains_non_fast_scrollable_region = 3; |
| 116 optional Size scroll_clip_layer_bounds = 4; | 117 optional Size scroll_clip_layer_bounds = 4; |
| 117 optional Size bounds = 5; | 118 optional Size bounds = 5; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 optional bool full_tree_damaged = 12; | 211 optional bool full_tree_damaged = 12; |
| 211 optional int64 sequence_number = 6; | 212 optional int64 sequence_number = 6; |
| 212 optional bool is_main_thread = 13; | 213 optional bool is_main_thread = 13; |
| 213 optional bool is_active = 14; | 214 optional bool is_active = 14; |
| 214 | 215 |
| 215 optional Vector2dF inner_viewport_container_bounds_delta = 8; | 216 optional Vector2dF inner_viewport_container_bounds_delta = 8; |
| 216 optional Vector2dF outer_viewport_container_bounds_delta = 9; | 217 optional Vector2dF outer_viewport_container_bounds_delta = 9; |
| 217 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; | 218 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; |
| 218 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; | 219 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; |
| 219 } | 220 } |
| OLD | NEW |