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

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

Issue 2451183002: Add sticky nodes affected by inner and outer viewport bounds deltas. (Closed)
Patch Set: Merge with master. Created 4 years, 1 month 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') | cc/trees/transform_node.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 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/clip_node.h" 10 #include "cc/trees/clip_node.h"
(...skipping 19 matching lines...) Expand all
30 original.needs_local_transform_update = false; 30 original.needs_local_transform_update = false;
31 original.is_invertible = false; 31 original.is_invertible = false;
32 original.ancestors_are_invertible = false; 32 original.ancestors_are_invertible = false;
33 original.has_potential_animation = false; 33 original.has_potential_animation = false;
34 original.to_screen_is_potentially_animated = false; 34 original.to_screen_is_potentially_animated = false;
35 original.has_only_translation_animations = false; 35 original.has_only_translation_animations = 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.affected_by_inner_viewport_bounds_delta_x = false; 40 original.moved_by_inner_viewport_bounds_delta_x = false;
41 original.affected_by_inner_viewport_bounds_delta_y = false; 41 original.moved_by_inner_viewport_bounds_delta_y = false;
42 original.affected_by_outer_viewport_bounds_delta_x = false; 42 original.moved_by_outer_viewport_bounds_delta_x = false;
43 original.affected_by_outer_viewport_bounds_delta_y = false; 43 original.moved_by_outer_viewport_bounds_delta_y = false;
44 original.in_subtree_of_page_scale_layer = false; 44 original.in_subtree_of_page_scale_layer = false;
45 original.post_local_scale_factor = 0.5f; 45 original.post_local_scale_factor = 0.5f;
46 original.scroll_offset = gfx::ScrollOffset(1.5f, 1.5f); 46 original.scroll_offset = gfx::ScrollOffset(1.5f, 1.5f);
47 original.snap_amount = gfx::Vector2dF(0.4f, 0.4f); 47 original.snap_amount = gfx::Vector2dF(0.4f, 0.4f);
48 original.source_offset = gfx::Vector2dF(2.5f, 2.4f); 48 original.source_offset = gfx::Vector2dF(2.5f, 2.4f);
49 original.source_to_parent = gfx::Vector2dF(3.2f, 3.2f); 49 original.source_to_parent = gfx::Vector2dF(3.2f, 3.2f);
50 50
51 proto::TreeNode proto; 51 proto::TreeNode proto;
52 original.ToProtobuf(&proto); 52 original.ToProtobuf(&proto);
53 TransformNode result; 53 TransformNode result;
(...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 1021
1022 DIRECT_AND_SERIALIZED_PROPERTY_TREE_TEST_F( 1022 DIRECT_AND_SERIALIZED_PROPERTY_TREE_TEST_F(
1023 PropertyTreeTestSingularTransformSnapTest); 1023 PropertyTreeTestSingularTransformSnapTest);
1024 1024
1025 #undef DIRECT_AND_SERIALIZED_PROPERTY_TREE_TEST_F 1025 #undef DIRECT_AND_SERIALIZED_PROPERTY_TREE_TEST_F
1026 #undef SERIALIZED_PROPERTY_TREE_TEST_F 1026 #undef SERIALIZED_PROPERTY_TREE_TEST_F
1027 #undef DIRECT_PROPERTY_TREE_TEST_F 1027 #undef DIRECT_PROPERTY_TREE_TEST_F
1028 1028
1029 } // namespace 1029 } // namespace
1030 } // namespace cc 1030 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/property_tree_builder.cc ('k') | cc/trees/transform_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698