Index: public/platform/WebAnimationDelegate.h |
diff --git a/public/platform/WebAnimationDelegate.h b/public/platform/WebAnimationDelegate.h |
index e233e5db69bf11b7f16f433d82d7eb5651dd1458..e13c6ce04392d885e9cee26cb233936fd5a6bfdf 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 { |
jamesr
2014/03/04 21:38:37
why does this class need to be exported? i don't s
mithro-old
2014/03/04 23:54:24
The two methods I add below with inline definition
|
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 |
+ inline void notifyAnimationStarted(double wallClockTime, double monotonicTime, WebAnimation::TargetProperty prop) |
jamesr
2014/03/04 21:38:37
i don't think the "inline" annotation provides any
mithro-old
2014/03/04 23:54:24
Fixed.
|
+ { |
+ notifyAnimationStarted(monotonicTime, prop); |
+ } |
+ inline 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 |