OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |