| 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 "synced_property.proto"; | 10 import "synced_property.proto"; |
| 11 import "transform.proto"; | 11 import "transform.proto"; |
| 12 import "vector2df.proto"; | 12 import "vector2df.proto"; |
| 13 | 13 |
| 14 option optimize_for = LITE_RUNTIME; | 14 option optimize_for = LITE_RUNTIME; |
| 15 | 15 |
| 16 package cc.proto; | 16 package cc.proto; |
| 17 | 17 |
| 18 // The messages declared in this file correspond to the classes declared in | 18 // The messages declared in this file correspond to the classes declared in |
| 19 // cc/trees/property_tree.h | 19 // cc/trees/property_tree.h |
| 20 | 20 |
| 21 // Proto for struct TransformNodeData. | 21 // Proto for struct TransformNodeData. |
| 22 // NEXT ID: 42 | 22 // NEXT ID: 43 |
| 23 message TranformNodeData { | 23 message TranformNodeData { |
| 24 optional Transform pre_local = 1; | 24 optional Transform pre_local = 1; |
| 25 optional Transform local = 2; | 25 optional Transform local = 2; |
| 26 optional Transform post_local = 3; | 26 optional Transform post_local = 3; |
| 27 optional Transform to_parent = 4; | 27 optional Transform to_parent = 4; |
| 28 optional Transform to_target = 5; | 28 optional Transform to_target = 5; |
| 29 optional Transform from_target = 6; | 29 optional Transform from_target = 6; |
| 30 optional Transform to_screen = 7; | 30 optional Transform to_screen = 7; |
| 31 optional Transform from_screen = 8; | 31 optional Transform from_screen = 8; |
| 32 | 32 |
| 33 optional int64 target_id = 9; | 33 optional int64 target_id = 9; |
| 34 optional int64 content_target_id = 10; | 34 optional int64 content_target_id = 10; |
| 35 optional int64 source_node_id = 11; | 35 optional int64 source_node_id = 11; |
| 36 optional bool needs_local_transform_update = 12; | 36 optional bool needs_local_transform_update = 12; |
| 37 optional bool node_and_ancestors_are_animated_or_invertible = 41; | 37 optional bool node_and_ancestors_are_animated_or_invertible = 41; |
| 38 optional bool is_invertible = 13; | 38 optional bool is_invertible = 13; |
| 39 optional bool ancestors_are_invertible = 14; | 39 optional bool ancestors_are_invertible = 14; |
| 40 optional bool is_animated = 15; | 40 optional bool has_potential_animation = 15; |
| 41 optional bool is_currently_animating = 42; |
| 41 optional bool to_screen_is_potentially_animated = 16; | 42 optional bool to_screen_is_potentially_animated = 16; |
| 42 optional bool has_only_translation_animations = 17; | 43 optional bool has_only_translation_animations = 17; |
| 43 optional bool to_screen_has_scale_animation = 18; | 44 optional bool to_screen_has_scale_animation = 18; |
| 44 optional bool flattens_inherited_transform = 19; | 45 optional bool flattens_inherited_transform = 19; |
| 45 optional bool node_and_ancestors_are_flat = 20; | 46 optional bool node_and_ancestors_are_flat = 20; |
| 46 optional bool node_and_ancestors_have_only_integer_translation = 21; | 47 optional bool node_and_ancestors_have_only_integer_translation = 21; |
| 47 optional bool scrolls = 22; | 48 optional bool scrolls = 22; |
| 48 optional bool needs_sublayer_scale = 23; | 49 optional bool needs_sublayer_scale = 23; |
| 49 optional bool affected_by_inner_viewport_bounds_delta_x = 24; | 50 optional bool affected_by_inner_viewport_bounds_delta_x = 24; |
| 50 optional bool affected_by_inner_viewport_bounds_delta_y = 25; | 51 optional bool affected_by_inner_viewport_bounds_delta_y = 25; |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 optional bool changed = 11; | 200 optional bool changed = 11; |
| 200 optional bool full_tree_damaged = 12; | 201 optional bool full_tree_damaged = 12; |
| 201 optional int64 sequence_number = 6; | 202 optional int64 sequence_number = 6; |
| 202 optional bool is_main_thread = 13; | 203 optional bool is_main_thread = 13; |
| 203 optional bool is_active = 14; | 204 optional bool is_active = 14; |
| 204 | 205 |
| 205 optional Vector2dF inner_viewport_container_bounds_delta = 8; | 206 optional Vector2dF inner_viewport_container_bounds_delta = 8; |
| 206 optional Vector2dF outer_viewport_container_bounds_delta = 9; | 207 optional Vector2dF outer_viewport_container_bounds_delta = 9; |
| 207 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; | 208 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; |
| 208 } | 209 } |
| OLD | NEW |