Index: third_party/WebKit/Source/core/animation/AnimationTimeline.h |
diff --git a/third_party/WebKit/Source/core/animation/AnimationTimeline.h b/third_party/WebKit/Source/core/animation/AnimationTimeline.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dce4b86041a7c2833641464bda90aed7c9c9bfb4 |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/animation/AnimationTimeline.h |
@@ -0,0 +1,30 @@ |
+// Copyright 2017 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 AnimationTimeline_h |
+#define AnimationTimeline_h |
+ |
+#include "core/CoreExport.h" |
+#include "platform/bindings/ScriptWrappable.h" |
+ |
+namespace blink { |
+ |
+class CORE_EXPORT AnimationTimeline |
+ : public GarbageCollectedFinalized<AnimationTimeline>, |
+ public ScriptWrappable { |
+ DEFINE_WRAPPERTYPEINFO(); |
+ |
+ public: |
+ virtual ~AnimationTimeline() {} |
+ |
+ virtual double currentTime(bool&) = 0; |
+ |
+ virtual bool IsDocumentTimeline() const { return false; } |
+ |
+ DEFINE_INLINE_VIRTUAL_TRACE() {} |
+}; |
+ |
+} // namespace blink |
+ |
+#endif |