Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: cc/proto/property_tree.proto

Issue 1973083002: Use element id's for animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/proto/element_id.proto ('k') | cc/test/animation_test_common.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "rectf.proto"; 8 import "rectf.proto";
8 import "scroll_offset.proto"; 9 import "scroll_offset.proto";
9 import "size.proto"; 10 import "size.proto";
10 import "synced_property.proto"; 11 import "synced_property.proto";
11 import "transform.proto"; 12 import "transform.proto";
12 import "vector2df.proto"; 13 import "vector2df.proto";
13 14
14 option optimize_for = LITE_RUNTIME; 15 option optimize_for = LITE_RUNTIME;
15 16
16 package cc.proto; 17 package cc.proto;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 optional int64 num_copy_requests_in_subtree = 8; 106 optional int64 num_copy_requests_in_subtree = 8;
106 optional int64 transform_id = 9; 107 optional int64 transform_id = 9;
107 optional int64 clip_id = 10; 108 optional int64 clip_id = 10;
108 optional int64 target_id = 12; 109 optional int64 target_id = 12;
109 optional int64 mask_layer_id = 17; 110 optional int64 mask_layer_id = 17;
110 optional int64 replica_layer_id = 18; 111 optional int64 replica_layer_id = 18;
111 optional int64 replica_mask_layer_id = 19; 112 optional int64 replica_mask_layer_id = 19;
112 } 113 }
113 114
114 // Proto for struct ScrollNodeData 115 // Proto for struct ScrollNodeData
115 // NEXT ID: 15 116 // NEXT ID: 16
116 message ScrollNodeData { 117 message ScrollNodeData {
117 optional bool scrollable = 1; 118 optional bool scrollable = 1;
118 optional int32 main_thread_scrolling_reasons = 2; 119 optional int32 main_thread_scrolling_reasons = 2;
119 optional bool contains_non_fast_scrollable_region = 3; 120 optional bool contains_non_fast_scrollable_region = 3;
120 optional Size scroll_clip_layer_bounds = 4; 121 optional Size scroll_clip_layer_bounds = 4;
121 optional Size bounds = 5; 122 optional Size bounds = 5;
122 optional bool max_scroll_offset_affected_by_page_scale = 6; 123 optional bool max_scroll_offset_affected_by_page_scale = 6;
123 optional bool is_inner_viewport_scroll_layer = 7; 124 optional bool is_inner_viewport_scroll_layer = 7;
124 optional bool is_outer_viewport_scroll_layer = 8; 125 optional bool is_outer_viewport_scroll_layer = 8;
125 optional Vector2dF offset_to_transform_parent = 9; 126 optional Vector2dF offset_to_transform_parent = 9;
126 optional bool should_flatten = 10; 127 optional bool should_flatten = 10;
127 optional bool user_scrollable_horizontal = 13; 128 optional bool user_scrollable_horizontal = 13;
128 optional bool user_scrollable_vertical = 14; 129 optional bool user_scrollable_vertical = 14;
129 optional int64 element_id = 12; 130 optional ElementId element_id = 15;
130 optional int64 transform_id = 11; 131 optional int64 transform_id = 11;
131 } 132 }
132 133
133 // This defines the proto used for all types of struct TreeNode. 134 // This defines the proto used for all types of struct TreeNode.
134 message TreeNode { 135 message TreeNode {
135 // The following fields are the base TreeNode properties. This list 136 // The following fields are the base TreeNode properties. This list
136 // corresponds to the data members from struct TreeNode. 137 // corresponds to the data members from struct TreeNode.
137 optional int64 id = 1; 138 optional int64 id = 1;
138 optional int64 parent_id = 2; 139 optional int64 parent_id = 2;
139 optional int64 owner_id = 3; 140 optional int64 owner_id = 3;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 optional bool full_tree_damaged = 12; 215 optional bool full_tree_damaged = 12;
215 optional int64 sequence_number = 6; 216 optional int64 sequence_number = 6;
216 optional bool is_main_thread = 13; 217 optional bool is_main_thread = 13;
217 optional bool is_active = 14; 218 optional bool is_active = 14;
218 219
219 optional Vector2dF inner_viewport_container_bounds_delta = 8; 220 optional Vector2dF inner_viewport_container_bounds_delta = 8;
220 optional Vector2dF outer_viewport_container_bounds_delta = 9; 221 optional Vector2dF outer_viewport_container_bounds_delta = 9;
221 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; 222 optional Vector2dF inner_viewport_scroll_bounds_delta = 10;
222 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true]; 223 repeated int64 always_use_active_tree_opacity_effect_ids = 15 [packed = true];
223 } 224 }
OLDNEW
« no previous file with comments | « cc/proto/element_id.proto ('k') | cc/test/animation_test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698