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

Unified Diff: webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.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: Rebase 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: webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h
diff --git a/webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h b/webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h
index 9d673aac7dbdd74888874895197f30ab91c04807..7338322e99d846211527a81b3ad2cc84797282b7 100644
--- a/webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h
+++ b/webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.h
@@ -19,8 +19,14 @@ class WebToCCAnimationDelegateAdapter : public cc::AnimationDelegate {
blink::WebAnimationDelegate* delegate);
private:
- virtual void NotifyAnimationStarted(double time) OVERRIDE;
- virtual void NotifyAnimationFinished(double time) OVERRIDE;
+ virtual void NotifyAnimationStarted(
+ double wall_clock_time,
+ base::TimeTicks monotonic_time,
+ cc::Animation::TargetProperty target_property) OVERRIDE;
+ virtual void NotifyAnimationFinished(
+ double wall_clock_time,
+ base::TimeTicks monotonic_time,
+ cc::Animation::TargetProperty target_property) OVERRIDE;
blink::WebAnimationDelegate* delegate_;

Powered by Google App Engine
This is Rietveld 408576698