Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: third_party/WebKit/Source/core/animation/SuperAnimationTimeline.h

Issue 2944423003: Implement new AnimationTimeline superclass (Closed)
Patch Set: Rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/animation/SuperAnimationTimeline.h
diff --git a/third_party/WebKit/Source/core/animation/SuperAnimationTimeline.h b/third_party/WebKit/Source/core/animation/SuperAnimationTimeline.h
new file mode 100644
index 0000000000000000000000000000000000000000..e582d1e37533f179b8c606651be620c2173380e6
--- /dev/null
+++ b/third_party/WebKit/Source/core/animation/SuperAnimationTimeline.h
@@ -0,0 +1,26 @@
+#ifndef SuperAnimationTimeline_h
+#define SuperAnimationTimeline_h
+
+#include "core/CoreExport.h"
+#include "platform/bindings/ScriptWrappable.h"
+
+namespace blink {
+
+class CORE_EXPORT SuperAnimationTimeline
+ : public GarbageCollectedFinalized<SuperAnimationTimeline>,
+ public ScriptWrappable {
+ DEFINE_WRAPPERTYPEINFO();
+
+ public:
+ virtual ~SuperAnimationTimeline() {}
+
+ virtual double currentTime(bool&) = 0;
+
+ virtual bool IsAnimationTimeline() const { return false; }
+
+ DEFINE_INLINE_VIRTUAL_TRACE() {}
+};
+
+} // namespace blink
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698