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 |