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

Side by Side Diff: cc/trees/property_tree_unittest.cc

Issue 1987123002: cc : Track transform animation changes on transform tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/trees/property_tree_builder.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "cc/trees/property_tree.h" 5 #include "cc/trees/property_tree.h"
6 6
7 #include "cc/input/main_thread_scrolling_reason.h" 7 #include "cc/input/main_thread_scrolling_reason.h"
8 #include "cc/proto/property_tree.pb.h" 8 #include "cc/proto/property_tree.pb.h"
9 #include "cc/test/geometry_test_utils.h" 9 #include "cc/test/geometry_test_utils.h"
10 #include "cc/trees/draw_property_utils.h" 10 #include "cc/trees/draw_property_utils.h"
(...skipping 11 matching lines...) Expand all
22 original.to_target.Translate3d(2.6f, 2.f, 3.f); 22 original.to_target.Translate3d(2.6f, 2.f, 3.f);
23 original.from_target.Translate3d(4.3f, 2.f, 3.f); 23 original.from_target.Translate3d(4.3f, 2.f, 3.f);
24 original.to_screen.Translate3d(7.2f, 2.f, 4.5f); 24 original.to_screen.Translate3d(7.2f, 2.f, 4.5f);
25 original.from_screen.Translate3d(2.f, 2.f, 7.f); 25 original.from_screen.Translate3d(2.f, 2.f, 7.f);
26 original.target_id = 3; 26 original.target_id = 3;
27 original.content_target_id = 4; 27 original.content_target_id = 4;
28 original.source_node_id = 5; 28 original.source_node_id = 5;
29 original.needs_local_transform_update = false; 29 original.needs_local_transform_update = false;
30 original.is_invertible = false; 30 original.is_invertible = false;
31 original.ancestors_are_invertible = false; 31 original.ancestors_are_invertible = false;
32 original.is_animated = false; 32 original.has_potential_animation = false;
33 original.to_screen_is_potentially_animated = false; 33 original.to_screen_is_potentially_animated = false;
34 original.has_only_translation_animations = false; 34 original.has_only_translation_animations = false;
35 original.to_screen_has_scale_animation = false; 35 original.to_screen_has_scale_animation = false;
36 original.flattens_inherited_transform = false; 36 original.flattens_inherited_transform = false;
37 original.node_and_ancestors_are_flat = false; 37 original.node_and_ancestors_are_flat = false;
38 original.node_and_ancestors_have_only_integer_translation = false; 38 original.node_and_ancestors_have_only_integer_translation = false;
39 original.scrolls = false; 39 original.scrolls = false;
40 original.needs_sublayer_scale = false; 40 original.needs_sublayer_scale = false;
41 original.affected_by_inner_viewport_bounds_delta_x = false; 41 original.affected_by_inner_viewport_bounds_delta_x = false;
42 original.affected_by_inner_viewport_bounds_delta_y = false; 42 original.affected_by_inner_viewport_bounds_delta_y = false;
(...skipping 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after
1153 1153
1154 DIRECT_AND_SERIALIZED_PROPERTY_TREE_TEST_F( 1154 DIRECT_AND_SERIALIZED_PROPERTY_TREE_TEST_F(
1155 PropertyTreeTestSingularTransformSnapTest); 1155 PropertyTreeTestSingularTransformSnapTest);
1156 1156
1157 #undef DIRECT_AND_SERIALIZED_PROPERTY_TREE_TEST_F 1157 #undef DIRECT_AND_SERIALIZED_PROPERTY_TREE_TEST_F
1158 #undef SERIALIZED_PROPERTY_TREE_TEST_F 1158 #undef SERIALIZED_PROPERTY_TREE_TEST_F
1159 #undef DIRECT_PROPERTY_TREE_TEST_F 1159 #undef DIRECT_PROPERTY_TREE_TEST_F
1160 1160
1161 } // namespace 1161 } // namespace
1162 } // namespace cc 1162 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/property_tree_builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698