| 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 "layer_sticky_position_constraint.proto"; | 8 import "layer_sticky_position_constraint.proto"; |
| 9 import "rectf.proto"; | 9 import "rectf.proto"; |
| 10 import "scroll_offset.proto"; | 10 import "scroll_offset.proto"; |
| 11 import "size.proto"; | 11 import "size.proto"; |
| 12 import "skxfermode.proto"; | 12 import "skxfermode.proto"; |
| 13 import "synced_property.proto"; | 13 import "synced_property.proto"; |
| 14 import "transform.proto"; | 14 import "transform.proto"; |
| 15 import "vector2df.proto"; | 15 import "vector2df.proto"; |
| 16 | 16 |
| 17 option optimize_for = LITE_RUNTIME; | 17 option optimize_for = LITE_RUNTIME; |
| 18 | 18 |
| 19 package cc.proto; | 19 package cc.proto; |
| 20 | 20 |
| 21 // The messages declared in this file correspond to the classes declared in | 21 // The messages declared in this file correspond to the classes declared in |
| 22 // cc/trees/property_tree.h | 22 // cc/trees/property_tree.h |
| 23 | 23 |
| 24 // Proto for struct TransformNodeData. | 24 // Proto for struct TransformNodeData. |
| 25 // NEXT ID: 43 | 25 // NEXT ID: 44 |
| 26 message TranformNodeData { | 26 message TranformNodeData { |
| 27 optional Transform pre_local = 1; | 27 optional Transform pre_local = 1; |
| 28 optional Transform local = 2; | 28 optional Transform local = 2; |
| 29 optional Transform post_local = 3; | 29 optional Transform post_local = 3; |
| 30 optional Transform to_parent = 4; | 30 optional Transform to_parent = 4; |
| 31 | 31 |
| 32 optional int64 source_node_id = 11; | 32 optional int64 source_node_id = 11; |
| 33 optional bool needs_local_transform_update = 12; | 33 optional bool needs_local_transform_update = 12; |
| 34 optional bool node_and_ancestors_are_animated_or_invertible = 41; | 34 optional bool node_and_ancestors_are_animated_or_invertible = 41; |
| 35 optional bool is_invertible = 13; | 35 optional bool is_invertible = 13; |
| 36 optional bool ancestors_are_invertible = 14; | 36 optional bool ancestors_are_invertible = 14; |
| 37 optional bool has_potential_animation = 15; | 37 optional bool has_potential_animation = 15; |
| 38 optional bool is_currently_animating = 42; | 38 optional bool is_currently_animating = 42; |
| 39 optional bool to_screen_is_potentially_animated = 16; | 39 optional bool to_screen_is_potentially_animated = 16; |
| 40 optional bool has_only_translation_animations = 17; | 40 optional bool has_only_translation_animations = 17; |
| 41 optional bool flattens_inherited_transform = 19; | 41 optional bool flattens_inherited_transform = 19; |
| 42 optional bool node_and_ancestors_are_flat = 20; | 42 optional bool node_and_ancestors_are_flat = 20; |
| 43 optional bool node_and_ancestors_have_only_integer_translation = 21; | 43 optional bool node_and_ancestors_have_only_integer_translation = 21; |
| 44 optional bool scrolls = 22; | 44 optional bool scrolls = 22; |
| 45 optional bool should_be_snapped = 43; |
| 45 optional bool needs_surface_contents_scale = 23; | 46 optional bool needs_surface_contents_scale = 23; |
| 46 optional bool affected_by_inner_viewport_bounds_delta_x = 24; | 47 optional bool affected_by_inner_viewport_bounds_delta_x = 24; |
| 47 optional bool affected_by_inner_viewport_bounds_delta_y = 25; | 48 optional bool affected_by_inner_viewport_bounds_delta_y = 25; |
| 48 optional bool affected_by_outer_viewport_bounds_delta_x = 26; | 49 optional bool affected_by_outer_viewport_bounds_delta_x = 26; |
| 49 optional bool affected_by_outer_viewport_bounds_delta_y = 27; | 50 optional bool affected_by_outer_viewport_bounds_delta_y = 27; |
| 50 optional bool in_subtree_of_page_scale_layer = 28; | 51 optional bool in_subtree_of_page_scale_layer = 28; |
| 51 optional bool transform_changed = 40; | 52 optional bool transform_changed = 40; |
| 52 optional float post_local_scale_factor = 29; | 53 optional float post_local_scale_factor = 29; |
| 53 | 54 |
| 54 optional Vector2dF surface_contents_scale = 34; | 55 optional Vector2dF surface_contents_scale = 34; |
| 55 optional ScrollOffset scroll_offset = 35; | 56 optional ScrollOffset scroll_offset = 35; |
| 56 optional Vector2dF scroll_snap = 36; | 57 optional Vector2dF snap_amount = 36; |
| 57 optional Vector2dF source_offset = 37; | 58 optional Vector2dF source_offset = 37; |
| 58 optional Vector2dF source_to_parent = 38; | 59 optional Vector2dF source_to_parent = 38; |
| 59 optional int64 sorting_context_id = 39; | 60 optional int64 sorting_context_id = 39; |
| 60 } | 61 } |
| 61 | 62 |
| 62 // Proto for TransformCachedNodeData | 63 // Proto for TransformCachedNodeData |
| 63 message TransformCachedNodeData { | 64 message TransformCachedNodeData { |
| 64 optional Transform from_target = 1; | 65 optional Transform from_target = 1; |
| 65 optional Transform to_target = 2; | 66 optional Transform to_target = 2; |
| 66 optional Transform from_screen = 3; | 67 optional Transform from_screen = 3; |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 optional bool full_tree_damaged = 12; | 233 optional bool full_tree_damaged = 12; |
| 233 optional int64 sequence_number = 6; | 234 optional int64 sequence_number = 6; |
| 234 optional bool is_main_thread = 13; | 235 optional bool is_main_thread = 13; |
| 235 optional bool is_active = 14; | 236 optional bool is_active = 14; |
| 236 | 237 |
| 237 optional Vector2dF inner_viewport_container_bounds_delta = 8; | 238 optional Vector2dF inner_viewport_container_bounds_delta = 8; |
| 238 optional Vector2dF outer_viewport_container_bounds_delta = 9; | 239 optional Vector2dF outer_viewport_container_bounds_delta = 9; |
| 239 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; | 240 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; |
| 240 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; | 241 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; |
| 241 } | 242 } |
| OLD | NEW |