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

Unified Diff: public/platform/WebCompositorAnimationDelegate.h

Issue 412123002: Rename WebAnimation to WebCompositorAnimation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
Index: public/platform/WebCompositorAnimationDelegate.h
diff --git a/public/platform/WebCompositorAnimationDelegate.h b/public/platform/WebCompositorAnimationDelegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..19f58f90bbb76a6a21d72fe0de61263fd4f8f53c
--- /dev/null
+++ b/public/platform/WebCompositorAnimationDelegate.h
@@ -0,0 +1,23 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebCompositorAnimationDelegate_h
+#define WebCompositorAnimationDelegate_h
+
+#include "WebCompositorAnimation.h"
+
+#define WebCompositorAnimationDelegate WebCompositorAnimationDelegate
Ian Vollick 2014/07/24 13:23:34 Ditto.
samli 2014/07/25 01:34:33 Done.
+#define WEB_ANIMATION_DELEGATE_TAKES_MONOTONIC_TIME 1
+
+namespace blink {
+
+class WebCompositorAnimationDelegate {
+public:
+ virtual void notifyAnimationStarted(double monotonicTime, WebCompositorAnimation::TargetProperty) = 0;
+ virtual void notifyAnimationFinished(double monotonicTime, WebCompositorAnimation::TargetProperty) = 0;
+};
+
+} // namespace blink
+
+#endif // WebCompositorAnimationDelegate_h

Powered by Google App Engine
This is Rietveld 408576698