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"; |
(...skipping 24 matching lines...) Expand all Loading... |
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 needs_surface_contents_scale = 23; | |
46 optional bool affected_by_inner_viewport_bounds_delta_x = 24; | 45 optional bool affected_by_inner_viewport_bounds_delta_x = 24; |
47 optional bool affected_by_inner_viewport_bounds_delta_y = 25; | 46 optional bool affected_by_inner_viewport_bounds_delta_y = 25; |
48 optional bool affected_by_outer_viewport_bounds_delta_x = 26; | 47 optional bool affected_by_outer_viewport_bounds_delta_x = 26; |
49 optional bool affected_by_outer_viewport_bounds_delta_y = 27; | 48 optional bool affected_by_outer_viewport_bounds_delta_y = 27; |
50 optional bool in_subtree_of_page_scale_layer = 28; | 49 optional bool in_subtree_of_page_scale_layer = 28; |
51 optional bool transform_changed = 40; | 50 optional bool transform_changed = 40; |
52 optional float post_local_scale_factor = 29; | 51 optional float post_local_scale_factor = 29; |
53 | 52 |
54 optional Vector2dF surface_contents_scale = 34; | |
55 optional ScrollOffset scroll_offset = 35; | 53 optional ScrollOffset scroll_offset = 35; |
56 optional Vector2dF scroll_snap = 36; | 54 optional Vector2dF scroll_snap = 36; |
57 optional Vector2dF source_offset = 37; | 55 optional Vector2dF source_offset = 37; |
58 optional Vector2dF source_to_parent = 38; | 56 optional Vector2dF source_to_parent = 38; |
59 optional int64 sorting_context_id = 39; | 57 optional int64 sorting_context_id = 39; |
60 } | 58 } |
61 | 59 |
62 // Proto for TransformCachedNodeData | 60 // Proto for TransformCachedNodeData |
63 message TransformCachedNodeData { | 61 message TransformCachedNodeData { |
64 optional Transform from_target = 1; | |
65 optional Transform to_target = 2; | |
66 optional Transform from_screen = 3; | 62 optional Transform from_screen = 3; |
67 optional Transform to_screen = 4; | 63 optional Transform to_screen = 4; |
68 optional int64 target_id = 5; | 64 optional int64 target_id = 5; |
69 optional int64 content_target_id = 6; | 65 optional int64 content_target_id = 6; |
70 } | 66 } |
71 | 67 |
72 // Proto for StickyPositionNodeData | 68 // Proto for StickyPositionNodeData |
73 message StickyPositionNodeData { | 69 message StickyPositionNodeData { |
74 optional int64 scroll_ancestor = 1; | 70 optional int64 scroll_ancestor = 1; |
75 optional LayerStickyPositionConstraint constraints = 2; | 71 optional LayerStickyPositionConstraint constraints = 2; |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 optional bool full_tree_damaged = 12; | 228 optional bool full_tree_damaged = 12; |
233 optional int64 sequence_number = 6; | 229 optional int64 sequence_number = 6; |
234 optional bool is_main_thread = 13; | 230 optional bool is_main_thread = 13; |
235 optional bool is_active = 14; | 231 optional bool is_active = 14; |
236 | 232 |
237 optional Vector2dF inner_viewport_container_bounds_delta = 8; | 233 optional Vector2dF inner_viewport_container_bounds_delta = 8; |
238 optional Vector2dF outer_viewport_container_bounds_delta = 9; | 234 optional Vector2dF outer_viewport_container_bounds_delta = 9; |
239 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; | 235 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; |
240 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; | 236 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; |
241 } | 237 } |
OLD | NEW |