| 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 "rectf.proto"; | 7 import "rectf.proto"; |
| 8 import "scroll_offset.proto"; | 8 import "scroll_offset.proto"; |
| 9 import "size.proto"; | 9 import "size.proto"; |
| 10 import "transform.proto"; | 10 import "transform.proto"; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 // Proto for struct EffectNodeData. | 84 // Proto for struct EffectNodeData. |
| 85 // NEXT ID: 12 | 85 // NEXT ID: 12 |
| 86 message EffectNodeData { | 86 message EffectNodeData { |
| 87 optional float opacity = 1; | 87 optional float opacity = 1; |
| 88 optional float screen_space_opacity = 2; | 88 optional float screen_space_opacity = 2; |
| 89 optional bool has_render_surface = 3; | 89 optional bool has_render_surface = 3; |
| 90 optional bool has_copy_request = 4; | 90 optional bool has_copy_request = 4; |
| 91 optional bool has_background_filters = 5; | 91 optional bool has_background_filters = 5; |
| 92 optional bool is_drawn = 6; | 92 optional bool is_drawn = 6; |
| 93 optional bool has_animated_opacity = 7; | 93 optional bool has_animated_opacity = 7; |
| 94 optional bool opacity_changed = 11; | 94 optional bool effect_changed = 11; |
| 95 optional int64 num_copy_requests_in_subtree = 8; | 95 optional int64 num_copy_requests_in_subtree = 8; |
| 96 optional int64 transform_id = 9; | 96 optional int64 transform_id = 9; |
| 97 optional int64 clip_id = 10; | 97 optional int64 clip_id = 10; |
| 98 } | 98 } |
| 99 | 99 |
| 100 // Proto for struct ScrollNodeData | 100 // Proto for struct ScrollNodeData |
| 101 // NEXT ID: 15 | 101 // NEXT ID: 15 |
| 102 message ScrollNodeData { | 102 message ScrollNodeData { |
| 103 optional bool scrollable = 1; | 103 optional bool scrollable = 1; |
| 104 optional int32 main_thread_scrolling_reasons = 2; | 104 optional int32 main_thread_scrolling_reasons = 2; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 optional float page_scale_factor = 2; | 167 optional float page_scale_factor = 2; |
| 168 optional float device_scale_factor = 3; | 168 optional float device_scale_factor = 3; |
| 169 optional float device_transform_scale_factor = 4; | 169 optional float device_transform_scale_factor = 4; |
| 170 repeated int64 nodes_affected_by_inner_viewport_bounds_delta = 7 | 170 repeated int64 nodes_affected_by_inner_viewport_bounds_delta = 7 |
| 171 [packed = true]; | 171 [packed = true]; |
| 172 repeated int64 nodes_affected_by_outer_viewport_bounds_delta = 8 | 172 repeated int64 nodes_affected_by_outer_viewport_bounds_delta = 8 |
| 173 [packed = true]; | 173 [packed = true]; |
| 174 } | 174 } |
| 175 | 175 |
| 176 // Proto for class PropertyTrees. | 176 // Proto for class PropertyTrees. |
| 177 // NEXT ID: 12 | 177 // NEXT ID: 13 |
| 178 message PropertyTrees { | 178 message PropertyTrees { |
| 179 optional PropertyTree transform_tree = 1; | 179 optional PropertyTree transform_tree = 1; |
| 180 optional PropertyTree effect_tree = 2; | 180 optional PropertyTree effect_tree = 2; |
| 181 optional PropertyTree clip_tree = 3; | 181 optional PropertyTree clip_tree = 3; |
| 182 optional PropertyTree scroll_tree = 7; | 182 optional PropertyTree scroll_tree = 7; |
| 183 | 183 |
| 184 optional bool needs_rebuild = 4; | 184 optional bool needs_rebuild = 4; |
| 185 optional bool non_root_surfaces_enabled = 5; | 185 optional bool non_root_surfaces_enabled = 5; |
| 186 optional bool changed = 11; | 186 optional bool changed = 11; |
| 187 optional bool full_tree_damaged = 12; |
| 187 optional int64 sequence_number = 6; | 188 optional int64 sequence_number = 6; |
| 188 | 189 |
| 189 optional Vector2dF inner_viewport_container_bounds_delta = 8; | 190 optional Vector2dF inner_viewport_container_bounds_delta = 8; |
| 190 optional Vector2dF outer_viewport_container_bounds_delta = 9; | 191 optional Vector2dF outer_viewport_container_bounds_delta = 9; |
| 191 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; | 192 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; |
| 192 } | 193 } |
| OLD | NEW |