Index: public/platform/WebAnimationDelegate.h |
diff --git a/public/platform/WebAnimationDelegate.h b/public/platform/WebAnimationDelegate.h |
index e233e5db69bf11b7f16f433d82d7eb5651dd1458..940f1434db7394804f8d2233d27354fb2b71721b 100644 |
--- a/public/platform/WebAnimationDelegate.h |
+++ b/public/platform/WebAnimationDelegate.h |
@@ -26,17 +26,26 @@ |
#define WebAnimationDelegate_h |
#include "WebAnimation.h" |
+#include "WebCommon.h" |
#define WEB_ANIMATION_DELEGATE_TAKES_MONOTONIC_TIME 1 |
namespace blink { |
-class WebAnimationDelegate { |
+class BLINK_PLATFORM_EXPORT WebAnimationDelegate { |
public: |
- // FIXME: Remove wallClockTime once the legacy implementation of CSS |
- // animations and transitions is removed. |
- virtual void notifyAnimationStarted(double wallClockTime, double monotonicTime, WebAnimation::TargetProperty) = 0; |
- virtual void notifyAnimationFinished(double wallClockTime, double monotonicTime, WebAnimation::TargetProperty) = 0; |
+ // FIXME: Remove wallClockTime API after the following file is updated; |
+ // webkit/renderer/compositor_bindings/web_to_cc_animation_delegate_adapter.cc |
+ void notifyAnimationStarted(double wallClockTime, double monotonicTime, WebAnimation::TargetProperty prop) |
+ { |
+ notifyAnimationStarted(monotonicTime, prop); |
+ } |
+ void notifyAnimationFinished(double wallClockTime, double monotonicTime, WebAnimation::TargetProperty prop) |
+ { |
+ notifyAnimationFinished(monotonicTime, prop); |
+ } |
+ virtual void notifyAnimationStarted(double monotonicTime, WebAnimation::TargetProperty) = 0; |
+ virtual void notifyAnimationFinished(double monotonicTime, WebAnimation::TargetProperty) = 0; |
}; |
} // namespace blink |