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

Side by Side Diff: cc/trees/draw_property_utils.h

Issue 2733633002: Handle nested position:sticky elements correctly (compositor) (Closed)
Patch Set: Addressed the easier reviewer comments. Created 3 years, 9 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
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 #ifndef CC_TREES_DRAW_PROPERTY_UTILS_H_ 5 #ifndef CC_TREES_DRAW_PROPERTY_UTILS_H_
6 #define CC_TREES_DRAW_PROPERTY_UTILS_H_ 6 #define CC_TREES_DRAW_PROPERTY_UTILS_H_
7 7
8 #include "cc/base/cc_export.h" 8 #include "cc/base/cc_export.h"
9 #include "cc/layers/layer_collections.h" 9 #include "cc/layers/layer_collections.h"
10 10
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 void CC_EXPORT 127 void CC_EXPORT
128 UpdateElasticOverscroll(PropertyTrees* property_trees, 128 UpdateElasticOverscroll(PropertyTrees* property_trees,
129 const LayerImpl* overscroll_elasticity_layer, 129 const LayerImpl* overscroll_elasticity_layer,
130 const gfx::Vector2dF& elastic_overscroll); 130 const gfx::Vector2dF& elastic_overscroll);
131 131
132 void CC_EXPORT 132 void CC_EXPORT
133 UpdateElasticOverscroll(PropertyTrees* property_trees, 133 UpdateElasticOverscroll(PropertyTrees* property_trees,
134 const Layer* overscroll_elasticity_layer, 134 const Layer* overscroll_elasticity_layer,
135 const gfx::Vector2dF& elastic_overscroll); 135 const gfx::Vector2dF& elastic_overscroll);
136 136
137 gfx::Vector2dF CC_EXPORT
138 CalculateTotalStickyOffsetToScroller(Layer* layer,
139 int scroll_ancestor_layer_id);
140
137 } // namespace draw_property_utils 141 } // namespace draw_property_utils
138 } // namespace cc 142 } // namespace cc
139 143
140 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_ 144 #endif // CC_TREES_DRAW_PROPERTY_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698