| 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"; | |
| 8 import "rectf.proto"; | 7 import "rectf.proto"; |
| 9 import "scroll_offset.proto"; | 8 import "scroll_offset.proto"; |
| 10 import "size.proto"; | 9 import "size.proto"; |
| 11 import "synced_property.proto"; | 10 import "synced_property.proto"; |
| 12 import "transform.proto"; | 11 import "transform.proto"; |
| 13 import "vector2df.proto"; | 12 import "vector2df.proto"; |
| 14 | 13 |
| 15 option optimize_for = LITE_RUNTIME; | 14 option optimize_for = LITE_RUNTIME; |
| 16 | 15 |
| 17 package cc.proto; | 16 package cc.proto; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 optional bool has_potential_opacity_animation = 7; | 99 optional bool has_potential_opacity_animation = 7; |
| 101 optional bool is_currently_animating_opacity = 16; | 100 optional bool is_currently_animating_opacity = 16; |
| 102 optional bool effect_changed = 11; | 101 optional bool effect_changed = 11; |
| 103 optional int64 num_copy_requests_in_subtree = 8; | 102 optional int64 num_copy_requests_in_subtree = 8; |
| 104 optional int64 transform_id = 9; | 103 optional int64 transform_id = 9; |
| 105 optional int64 clip_id = 10; | 104 optional int64 clip_id = 10; |
| 106 optional int64 target_id = 12; | 105 optional int64 target_id = 12; |
| 107 } | 106 } |
| 108 | 107 |
| 109 // Proto for struct ScrollNodeData | 108 // Proto for struct ScrollNodeData |
| 110 // NEXT ID: 16 | 109 // NEXT ID: 15 |
| 111 message ScrollNodeData { | 110 message ScrollNodeData { |
| 112 optional bool scrollable = 1; | 111 optional bool scrollable = 1; |
| 113 optional int32 main_thread_scrolling_reasons = 2; | 112 optional int32 main_thread_scrolling_reasons = 2; |
| 114 optional bool contains_non_fast_scrollable_region = 3; | 113 optional bool contains_non_fast_scrollable_region = 3; |
| 115 optional Size scroll_clip_layer_bounds = 4; | 114 optional Size scroll_clip_layer_bounds = 4; |
| 116 optional Size bounds = 5; | 115 optional Size bounds = 5; |
| 117 optional bool max_scroll_offset_affected_by_page_scale = 6; | 116 optional bool max_scroll_offset_affected_by_page_scale = 6; |
| 118 optional bool is_inner_viewport_scroll_layer = 7; | 117 optional bool is_inner_viewport_scroll_layer = 7; |
| 119 optional bool is_outer_viewport_scroll_layer = 8; | 118 optional bool is_outer_viewport_scroll_layer = 8; |
| 120 optional Vector2dF offset_to_transform_parent = 9; | 119 optional Vector2dF offset_to_transform_parent = 9; |
| 121 optional bool should_flatten = 10; | 120 optional bool should_flatten = 10; |
| 122 optional bool user_scrollable_horizontal = 13; | 121 optional bool user_scrollable_horizontal = 13; |
| 123 optional bool user_scrollable_vertical = 14; | 122 optional bool user_scrollable_vertical = 14; |
| 124 optional ElementId element_id = 15; | 123 optional int64 element_id = 12; |
| 125 optional int64 transform_id = 11; | 124 optional int64 transform_id = 11; |
| 126 } | 125 } |
| 127 | 126 |
| 128 // This defines the proto used for all types of struct TreeNode. | 127 // This defines the proto used for all types of struct TreeNode. |
| 129 message TreeNode { | 128 message TreeNode { |
| 130 // The following fields are the base TreeNode properties. This list | 129 // The following fields are the base TreeNode properties. This list |
| 131 // corresponds to the data members from struct TreeNode. | 130 // corresponds to the data members from struct TreeNode. |
| 132 optional int64 id = 1; | 131 optional int64 id = 1; |
| 133 optional int64 parent_id = 2; | 132 optional int64 parent_id = 2; |
| 134 optional int64 owner_id = 3; | 133 optional int64 owner_id = 3; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 optional bool full_tree_damaged = 12; | 201 optional bool full_tree_damaged = 12; |
| 203 optional int64 sequence_number = 6; | 202 optional int64 sequence_number = 6; |
| 204 optional bool is_main_thread = 13; | 203 optional bool is_main_thread = 13; |
| 205 optional bool is_active = 14; | 204 optional bool is_active = 14; |
| 206 | 205 |
| 207 optional Vector2dF inner_viewport_container_bounds_delta = 8; | 206 optional Vector2dF inner_viewport_container_bounds_delta = 8; |
| 208 optional Vector2dF outer_viewport_container_bounds_delta = 9; | 207 optional Vector2dF outer_viewport_container_bounds_delta = 9; |
| 209 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; | 208 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; |
| 210 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; | 209 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; |
| 211 } | 210 } |
| OLD | NEW |