| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 optional int64 target_effect_id = 12; | 79 optional int64 target_effect_id = 12; |
| 80 optional bool applies_local_clip = 6; | 80 optional bool applies_local_clip = 6; |
| 81 optional bool layer_clipping_uses_only_local_clip = 7; | 81 optional bool layer_clipping_uses_only_local_clip = 7; |
| 82 optional bool target_is_clipped = 8; | 82 optional bool target_is_clipped = 8; |
| 83 optional bool layers_are_clipped = 9; | 83 optional bool layers_are_clipped = 9; |
| 84 optional bool layers_are_clipped_when_surfaces_disabled = 10; | 84 optional bool layers_are_clipped_when_surfaces_disabled = 10; |
| 85 optional bool resets_clip = 11; | 85 optional bool resets_clip = 11; |
| 86 } | 86 } |
| 87 | 87 |
| 88 // Proto for struct EffectNodeData. | 88 // Proto for struct EffectNodeData. |
| 89 // NEXT ID: 21 | 89 // NEXT ID: 25 |
| 90 message EffectNodeData { | 90 message EffectNodeData { |
| 91 optional float opacity = 1; | 91 optional float opacity = 1; |
| 92 optional float screen_space_opacity = 2; | 92 optional float screen_space_opacity = 2; |
| 93 optional bool has_render_surface = 3; | 93 optional bool has_render_surface = 3; |
| 94 optional bool has_copy_request = 4; | 94 optional bool has_copy_request = 4; |
| 95 optional bool hidden_by_backface_visibility = 14; | 95 optional bool hidden_by_backface_visibility = 14; |
| 96 optional bool double_sided = 13; | 96 optional bool double_sided = 13; |
| 97 optional bool is_drawn = 6; | 97 optional bool is_drawn = 6; |
| 98 optional bool subtree_hidden = 15; | 98 optional bool subtree_hidden = 15; |
| 99 optional bool has_potential_filter_animation = 21; |
| 99 optional bool has_potential_opacity_animation = 7; | 100 optional bool has_potential_opacity_animation = 7; |
| 101 optional bool is_currently_animating_filter = 22; |
| 100 optional bool is_currently_animating_opacity = 16; | 102 optional bool is_currently_animating_opacity = 16; |
| 101 optional bool effect_changed = 11; | 103 optional bool effect_changed = 11; |
| 102 optional int64 num_copy_requests_in_subtree = 8; | 104 optional int64 num_copy_requests_in_subtree = 8; |
| 103 optional int64 transform_id = 9; | 105 optional int64 transform_id = 9; |
| 104 optional int64 clip_id = 10; | 106 optional int64 clip_id = 10; |
| 105 optional int64 target_id = 12; | 107 optional int64 target_id = 12; |
| 106 optional int64 mask_layer_id = 17; | 108 optional int64 mask_layer_id = 17; |
| 107 optional int64 replica_layer_id = 18; | 109 optional int64 replica_layer_id = 18; |
| 108 optional int64 replica_mask_layer_id = 19; | 110 optional int64 replica_mask_layer_id = 19; |
| 109 optional Vector2dF surface_contents_scale = 20; | 111 optional Vector2dF surface_contents_scale = 20; |
| 112 // TODO(nyquist): Add support for FilterOperation. See crbug.com/541321. |
| 113 // repeated FilterOperation filters = 23; |
| 114 // repeated FilterOperation background_filters = 24; |
| 110 } | 115 } |
| 111 | 116 |
| 112 // Proto for struct ScrollNodeData | 117 // Proto for struct ScrollNodeData |
| 113 // NEXT ID: 16 | 118 // NEXT ID: 16 |
| 114 message ScrollNodeData { | 119 message ScrollNodeData { |
| 115 optional bool scrollable = 1; | 120 optional bool scrollable = 1; |
| 116 optional int32 main_thread_scrolling_reasons = 2; | 121 optional int32 main_thread_scrolling_reasons = 2; |
| 117 optional bool contains_non_fast_scrollable_region = 3; | 122 optional bool contains_non_fast_scrollable_region = 3; |
| 118 optional Size scroll_clip_layer_bounds = 4; | 123 optional Size scroll_clip_layer_bounds = 4; |
| 119 optional Size bounds = 5; | 124 optional Size bounds = 5; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 optional bool full_tree_damaged = 12; | 217 optional bool full_tree_damaged = 12; |
| 213 optional int64 sequence_number = 6; | 218 optional int64 sequence_number = 6; |
| 214 optional bool is_main_thread = 13; | 219 optional bool is_main_thread = 13; |
| 215 optional bool is_active = 14; | 220 optional bool is_active = 14; |
| 216 | 221 |
| 217 optional Vector2dF inner_viewport_container_bounds_delta = 8; | 222 optional Vector2dF inner_viewport_container_bounds_delta = 8; |
| 218 optional Vector2dF outer_viewport_container_bounds_delta = 9; | 223 optional Vector2dF outer_viewport_container_bounds_delta = 9; |
| 219 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; | 224 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; |
| 220 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; | 225 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; |
| 221 } | 226 } |
| OLD | NEW |