Index: webkit/renderer/compositor_bindings/web_animation_impl.h |
diff --git a/webkit/renderer/compositor_bindings/web_animation_impl.h b/webkit/renderer/compositor_bindings/web_animation_impl.h |
index 0c248fcfce196eca9498d2b304c97b3eb8d42da9..07d72c7860c342c90356de5b4e959812eab8efd9 100644 |
--- a/webkit/renderer/compositor_bindings/web_animation_impl.h |
+++ b/webkit/renderer/compositor_bindings/web_animation_impl.h |
@@ -33,8 +33,13 @@ class WebAnimationImpl : public blink::WebAnimation { |
virtual void setStartTime(double monotonic_time); |
virtual double timeOffset() const; |
virtual void setTimeOffset(double monotonic_time); |
+#if WEB_ANIMATION_SUPPORTS_FULL_DIRECTION |
enne (OOO)
2014/05/01 17:04:18
Why the #if? It seems like you could just provide
|
+ virtual Direction direction() const; |
+ virtual void setDirection(Direction); |
+#else |
virtual bool alternatesDirection() const; |
virtual void setAlternatesDirection(bool alternates); |
+#endif |
scoped_ptr<cc::Animation> PassAnimation(); |