| 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 "transform.proto"; | 9 import "transform.proto"; |
| 10 import "vector2df.proto"; | 10 import "vector2df.proto"; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 optional bool layers_are_clipped = 9; | 74 optional bool layers_are_clipped = 9; |
| 75 optional bool layers_are_clipped_when_surfaces_disabled = 10; | 75 optional bool layers_are_clipped_when_surfaces_disabled = 10; |
| 76 optional bool resets_clip = 11; | 76 optional bool resets_clip = 11; |
| 77 } | 77 } |
| 78 | 78 |
| 79 // Proto for struct EffectNodeData. | 79 // Proto for struct EffectNodeData. |
| 80 message EffectNodeData { | 80 message EffectNodeData { |
| 81 optional float opacity = 1; | 81 optional float opacity = 1; |
| 82 optional float screen_space_opacity = 2; | 82 optional float screen_space_opacity = 2; |
| 83 optional bool has_render_surface = 3; | 83 optional bool has_render_surface = 3; |
| 84 optional int64 num_copy_requests_in_subtree = 4; | 84 optional bool has_copy_request = 4; |
| 85 optional int64 transform_id = 5; | 85 optional bool has_background_filters = 5; |
| 86 optional int64 clip_id = 6; | 86 optional bool is_drawn = 6; |
| 87 optional bool screen_space_opacity_is_animating = 7; |
| 88 optional int64 num_copy_requests_in_subtree = 8; |
| 89 optional int64 transform_id = 9; |
| 90 optional int64 clip_id = 10; |
| 87 } | 91 } |
| 88 | 92 |
| 89 message ScrollNodeData { | 93 message ScrollNodeData { |
| 90 optional bool scrollable = 1; | 94 optional bool scrollable = 1; |
| 91 optional bool should_scroll_on_main_thread = 2; | 95 optional bool should_scroll_on_main_thread = 2; |
| 92 optional int32 scroll_blocks_on = 3; | 96 optional int32 scroll_blocks_on = 3; |
| 93 optional bool contains_non_fast_scrollable_region = 4; | 97 optional bool contains_non_fast_scrollable_region = 4; |
| 94 optional int64 transform_id = 5; | 98 optional int64 transform_id = 5; |
| 95 } | 99 } |
| 96 | 100 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 message PropertyTrees { | 155 message PropertyTrees { |
| 152 optional PropertyTree transform_tree = 1; | 156 optional PropertyTree transform_tree = 1; |
| 153 optional PropertyTree effect_tree = 2; | 157 optional PropertyTree effect_tree = 2; |
| 154 optional PropertyTree clip_tree = 3; | 158 optional PropertyTree clip_tree = 3; |
| 155 optional PropertyTree scroll_tree = 4; | 159 optional PropertyTree scroll_tree = 4; |
| 156 | 160 |
| 157 optional bool needs_rebuild = 5; | 161 optional bool needs_rebuild = 5; |
| 158 optional bool non_root_surfaces_enabled = 6; | 162 optional bool non_root_surfaces_enabled = 6; |
| 159 optional int64 sequence_number = 7; | 163 optional int64 sequence_number = 7; |
| 160 } | 164 } |
| OLD | NEW |