Index: Source/core/animation/TimedItemTiming.h |
diff --git a/Source/core/animation/TimedItemTiming.h b/Source/core/animation/TimedItemTiming.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ca07274585bc0fd7aada8b153d1802776eb2d03a |
--- /dev/null |
+++ b/Source/core/animation/TimedItemTiming.h |
@@ -0,0 +1,34 @@ |
+// 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 TimedItemTiming_h |
+#define TimedItemTiming_h |
+ |
+#include "wtf/RefCounted.h" |
+#include "wtf/text/WTFString.h" |
+ |
+namespace WebCore { |
+ |
+class TimedItem; |
+ |
+class TimedItemTiming : public RefCounted<TimedItemTiming> { |
+public: |
+ static PassRefPtr<TimedItemTiming> create(TimedItem* parent); |
+ double delay(); |
+ double endDelay(); |
+ String fill(); |
+ double iterationStart(); |
+ double iterations(); |
+ void duration(String propertyName, bool& element0Enabled, double& element0, bool& element1Enambled, String& element1); |
+ double playbackRate(); |
+ String direction(); |
+ String easing(); |
+private: |
+ RefPtr<TimedItem> m_parent; |
+ TimedItemTiming(TimedItem* parent); |
+}; |
+ |
+} // namespace WebCore |
+ |
+#endif |