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

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

Issue 1876903003: cc : Add node and ancestors are animated or invertible to transform tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | cc/trees/draw_property_utils.cc » ('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 "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: 41 22 // NEXT ID: 42
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 is_invertible = 13; 38 optional bool is_invertible = 13;
38 optional bool ancestors_are_invertible = 14; 39 optional bool ancestors_are_invertible = 14;
39 optional bool is_animated = 15; 40 optional bool is_animated = 15;
40 optional bool to_screen_is_potentially_animated = 16; 41 optional bool to_screen_is_potentially_animated = 16;
41 optional bool has_only_translation_animations = 17; 42 optional bool has_only_translation_animations = 17;
42 optional bool to_screen_has_scale_animation = 18; 43 optional bool to_screen_has_scale_animation = 18;
43 optional bool flattens_inherited_transform = 19; 44 optional bool flattens_inherited_transform = 19;
44 optional bool node_and_ancestors_are_flat = 20; 45 optional bool node_and_ancestors_are_flat = 20;
45 optional bool node_and_ancestors_have_only_integer_translation = 21; 46 optional bool node_and_ancestors_have_only_integer_translation = 21;
46 optional bool scrolls = 22; 47 optional bool scrolls = 22;
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 optional bool changed = 11; 199 optional bool changed = 11;
199 optional bool full_tree_damaged = 12; 200 optional bool full_tree_damaged = 12;
200 optional int64 sequence_number = 6; 201 optional int64 sequence_number = 6;
201 optional bool is_main_thread = 13; 202 optional bool is_main_thread = 13;
202 optional bool is_active = 14; 203 optional bool is_active = 14;
203 204
204 optional Vector2dF inner_viewport_container_bounds_delta = 8; 205 optional Vector2dF inner_viewport_container_bounds_delta = 8;
205 optional Vector2dF outer_viewport_container_bounds_delta = 9; 206 optional Vector2dF outer_viewport_container_bounds_delta = 9;
206 optional Vector2dF inner_viewport_scroll_bounds_delta = 10; 207 optional Vector2dF inner_viewport_scroll_bounds_delta = 10;
207 } 208 }
OLDNEW
« no previous file with comments | « no previous file | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698