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

Side by Side Diff: cc/layers/layer_impl_test_properties.h

Issue 2911463002: Unify the calculation of main thread offset of sticky element (Closed)
Patch Set: Bug fix Created 3 years, 6 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/layers/layer.cc ('k') | cc/layers/layer_sticky_position_constraint.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ 5 #ifndef CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_
6 #define CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ 6 #define CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 28 matching lines...) Expand all
39 bool opacity_can_animate; 39 bool opacity_can_animate;
40 bool subtree_has_copy_request; 40 bool subtree_has_copy_request;
41 int sorting_context_id; 41 int sorting_context_id;
42 float opacity; 42 float opacity;
43 FilterOperations filters; 43 FilterOperations filters;
44 FilterOperations background_filters; 44 FilterOperations background_filters;
45 gfx::PointF filters_origin; 45 gfx::PointF filters_origin;
46 SkBlendMode blend_mode; 46 SkBlendMode blend_mode;
47 LayerPositionConstraint position_constraint; 47 LayerPositionConstraint position_constraint;
48 LayerStickyPositionConstraint sticky_position_constraint; 48 LayerStickyPositionConstraint sticky_position_constraint;
49 gfx::Size offset_for_sticky_position_from_main_thread;
49 gfx::Point3F transform_origin; 50 gfx::Point3F transform_origin;
50 gfx::Transform transform; 51 gfx::Transform transform;
51 LayerImpl* scroll_parent; 52 LayerImpl* scroll_parent;
52 std::unique_ptr<std::set<LayerImpl*>> scroll_children; 53 std::unique_ptr<std::set<LayerImpl*>> scroll_children;
53 LayerImpl* clip_parent; 54 LayerImpl* clip_parent;
54 std::unique_ptr<std::set<LayerImpl*>> clip_children; 55 std::unique_ptr<std::set<LayerImpl*>> clip_children;
55 std::vector<std::unique_ptr<CopyOutputRequest>> copy_requests; 56 std::vector<std::unique_ptr<CopyOutputRequest>> copy_requests;
56 LayerImplList children; 57 LayerImplList children;
57 LayerImpl* mask_layer; 58 LayerImpl* mask_layer;
58 LayerImpl* parent; 59 LayerImpl* parent;
59 bool user_scrollable_horizontal = true; 60 bool user_scrollable_horizontal = true;
60 bool user_scrollable_vertical = true; 61 bool user_scrollable_vertical = true;
61 }; 62 };
62 63
63 } // namespace cc 64 } // namespace cc
64 65
65 #endif // CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_ 66 #endif // CC_LAYERS_LAYER_IMPL_TEST_PROPERTIES_H_
OLDNEW
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_sticky_position_constraint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698