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

Unified Diff: cc/trees/property_tree.h

Issue 2339583002: cc: Move OnScrollOffsetAnimated to scroll tree (Closed)
Patch Set: Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/property_tree.h
diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h
index 4f3a501cc20bf46b5538ee84d3875b78a3438c86..9f2bd8571683351b84d8ae370e02cdc5dc89a584 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -399,6 +399,11 @@ class CC_EXPORT ScrollTree final : public PropertyTree<ScrollNode> {
ScrollOffsetMap;
gfx::ScrollOffset MaxScrollOffset(int scroll_node_id) const;
+ void OnScrollOffsetAnimated(int layer_id,
+ int transform_tree_index,
+ int scroll_tree_index,
+ const gfx::ScrollOffset& scroll_offset,
+ LayerTreeImpl* layer_tree_impl);
gfx::Size scroll_clip_layer_bounds(int scroll_node_id) const;
ScrollNode* CurrentlyScrollingNode();
const ScrollNode* CurrentlyScrollingNode() const;
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698