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

Unified Diff: cc/trees/layer_tree_mutators_client.h

Issue 1009233002: CC Animations: Port Impl-only-scrolling to use compositor animation timelines. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ui
Patch Set: Add unittests. Created 5 years, 8 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_timelines.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_mutators_client.h
diff --git a/cc/trees/layer_tree_mutators_client.h b/cc/trees/layer_tree_mutators_client.h
index 9701e2036672dce091ee5f723b3a654d929345e5..a90ce53cd328b88795ea627bf308379e6c2aa090 100644
--- a/cc/trees/layer_tree_mutators_client.h
+++ b/cc/trees/layer_tree_mutators_client.h
@@ -34,6 +34,9 @@ class LayerTreeMutatorsClient {
int layer_id,
bool active_tree,
const gfx::ScrollOffset& scroll_offset) = 0;
+
+ virtual void ScrollOffsetAnimationFinished() {}
+ virtual gfx::ScrollOffset GetScrollOffsetForAnimation(int layer_id) const = 0;
};
} // namespace cc
« no previous file with comments | « cc/trees/layer_tree_host_unittest_animation_timelines.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698