| 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 22 matching lines...) Expand all Loading... |
| 33 optional bool is_invertible = 13; | 33 optional bool is_invertible = 13; |
| 34 optional bool ancestors_are_invertible = 14; | 34 optional bool ancestors_are_invertible = 14; |
| 35 optional bool has_potential_animation = 15; | 35 optional bool has_potential_animation = 15; |
| 36 optional bool is_currently_animating = 42; | 36 optional bool is_currently_animating = 42; |
| 37 optional bool to_screen_is_potentially_animated = 16; | 37 optional bool to_screen_is_potentially_animated = 16; |
| 38 optional bool has_only_translation_animations = 17; | 38 optional bool has_only_translation_animations = 17; |
| 39 optional bool flattens_inherited_transform = 19; | 39 optional bool flattens_inherited_transform = 19; |
| 40 optional bool node_and_ancestors_are_flat = 20; | 40 optional bool node_and_ancestors_are_flat = 20; |
| 41 optional bool node_and_ancestors_have_only_integer_translation = 21; | 41 optional bool node_and_ancestors_have_only_integer_translation = 21; |
| 42 optional bool scrolls = 22; | 42 optional bool scrolls = 22; |
| 43 optional bool needs_sublayer_scale = 23; | 43 optional bool needs_surface_contents_scale = 23; |
| 44 optional bool affected_by_inner_viewport_bounds_delta_x = 24; | 44 optional bool affected_by_inner_viewport_bounds_delta_x = 24; |
| 45 optional bool affected_by_inner_viewport_bounds_delta_y = 25; | 45 optional bool affected_by_inner_viewport_bounds_delta_y = 25; |
| 46 optional bool affected_by_outer_viewport_bounds_delta_x = 26; | 46 optional bool affected_by_outer_viewport_bounds_delta_x = 26; |
| 47 optional bool affected_by_outer_viewport_bounds_delta_y = 27; | 47 optional bool affected_by_outer_viewport_bounds_delta_y = 27; |
| 48 optional bool in_subtree_of_page_scale_layer = 28; | 48 optional bool in_subtree_of_page_scale_layer = 28; |
| 49 optional bool transform_changed = 40; | 49 optional bool transform_changed = 40; |
| 50 optional float post_local_scale_factor = 29; | 50 optional float post_local_scale_factor = 29; |
| 51 | 51 |
| 52 optional Vector2dF sublayer_scale = 34; | 52 optional Vector2dF surface_contents_scale = 34; |
| 53 optional ScrollOffset scroll_offset = 35; | 53 optional ScrollOffset scroll_offset = 35; |
| 54 optional Vector2dF scroll_snap = 36; | 54 optional Vector2dF scroll_snap = 36; |
| 55 optional Vector2dF source_offset = 37; | 55 optional Vector2dF source_offset = 37; |
| 56 optional Vector2dF source_to_parent = 38; | 56 optional Vector2dF source_to_parent = 38; |
| 57 optional int64 sorting_context_id = 39; | 57 optional int64 sorting_context_id = 39; |
| 58 } | 58 } |
| 59 | 59 |
| 60 // Proto for TransformCachedNodeData | 60 // Proto for TransformCachedNodeData |
| 61 message TransformCachedNodeData { | 61 message TransformCachedNodeData { |
| 62 optional Transform from_target = 1; | 62 optional Transform from_target = 1; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 optional bool has_potential_opacity_animation = 7; | 99 optional bool has_potential_opacity_animation = 7; |
| 100 optional bool is_currently_animating_opacity = 16; | 100 optional bool is_currently_animating_opacity = 16; |
| 101 optional bool effect_changed = 11; | 101 optional bool effect_changed = 11; |
| 102 optional int64 num_copy_requests_in_subtree = 8; | 102 optional int64 num_copy_requests_in_subtree = 8; |
| 103 optional int64 transform_id = 9; | 103 optional int64 transform_id = 9; |
| 104 optional int64 clip_id = 10; | 104 optional int64 clip_id = 10; |
| 105 optional int64 target_id = 12; | 105 optional int64 target_id = 12; |
| 106 optional int64 mask_layer_id = 17; | 106 optional int64 mask_layer_id = 17; |
| 107 optional int64 replica_layer_id = 18; | 107 optional int64 replica_layer_id = 18; |
| 108 optional int64 replica_mask_layer_id = 19; | 108 optional int64 replica_mask_layer_id = 19; |
| 109 optional Vector2dF sublayer_scale = 20; | 109 optional Vector2dF surface_contents_scale = 20; |
| 110 } | 110 } |
| 111 | 111 |
| 112 // Proto for struct ScrollNodeData | 112 // Proto for struct ScrollNodeData |
| 113 // NEXT ID: 16 | 113 // NEXT ID: 16 |
| 114 message ScrollNodeData { | 114 message ScrollNodeData { |
| 115 optional bool scrollable = 1; | 115 optional bool scrollable = 1; |
| 116 optional int32 main_thread_scrolling_reasons = 2; | 116 optional int32 main_thread_scrolling_reasons = 2; |
| 117 optional bool contains_non_fast_scrollable_region = 3; | 117 optional bool contains_non_fast_scrollable_region = 3; |
| 118 optional Size scroll_clip_layer_bounds = 4; | 118 optional Size scroll_clip_layer_bounds = 4; |
| 119 optional Size bounds = 5; | 119 optional Size bounds = 5; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 optional bool full_tree_damaged = 12; | 212 optional bool full_tree_damaged = 12; |
| 213 optional int64 sequence_number = 6; | 213 optional int64 sequence_number = 6; |
| 214 optional bool is_main_thread = 13; | 214 optional bool is_main_thread = 13; |
| 215 optional bool is_active = 14; | 215 optional bool is_active = 14; |
| 216 | 216 |
| 217 optional Vector2dF inner_viewport_container_bounds_delta = 8; | 217 optional Vector2dF inner_viewport_container_bounds_delta = 8; |
| 218 optional Vector2dF outer_viewport_container_bounds_delta = 9; | 218 optional Vector2dF outer_viewport_container_bounds_delta = 9; |
| 219 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; | 219 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; |
| 220 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; | 220 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; |
| 221 } | 221 } |
| OLD | NEW |