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

Unified Diff: cc/test/layer_tree_test.h

Issue 99733003: Add monotonic time and target property to cc::AnimationDelegate notifications (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
Index: cc/test/layer_tree_test.h
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h
index ac35a653ae06655f06773d65099a2d72b5b736df..6b7af6f1012c2d79cd3b04640e6b80e2d1a80ad9 100644
--- a/cc/test/layer_tree_test.h
+++ b/cc/test/layer_tree_test.h
@@ -75,8 +75,14 @@ class TestHooks : public AnimationDelegate {
virtual base::TimeDelta LowFrequencyAnimationInterval() const;
// Implementation of AnimationDelegate:
- virtual void NotifyAnimationStarted(double time) OVERRIDE {}
- virtual void NotifyAnimationFinished(double time) OVERRIDE {}
+ virtual void NotifyAnimationStarted(
+ double wall_clock_time,
+ double monotonic_time,
+ Animation::TargetProperty target_property) OVERRIDE {}
+ virtual void NotifyAnimationFinished(
+ double wall_clock_time,
+ double monotonic_time,
+ Animation::TargetProperty target_property) OVERRIDE {}
virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback) = 0;
virtual scoped_refptr<ContextProvider> OffscreenContextProvider() = 0;

Powered by Google App Engine
This is Rietveld 408576698