OLD | NEW |
1 #ifndef SuperAnimationTimeline_h | 1 #ifndef SuperAnimationTimeline_h |
2 #define SuperAnimationTimeline_h | 2 #define SuperAnimationTimeline_h |
3 | 3 |
4 #include "core/CoreExport.h" | 4 #include "core/CoreExport.h" |
5 #include "platform/bindings/ScriptWrappable.h" | 5 #include "platform/bindings/ScriptWrappable.h" |
6 | 6 |
7 namespace blink { | 7 namespace blink { |
8 | 8 |
9 class CORE_EXPORT SuperAnimationTimeline | 9 class CORE_EXPORT SuperAnimationTimeline |
10 : public GarbageCollectedFinalized<SuperAnimationTimeline>, | 10 : public GarbageCollectedFinalized<SuperAnimationTimeline>, |
11 public ScriptWrappable { | 11 public ScriptWrappable { |
12 DEFINE_WRAPPERTYPEINFO(); | 12 DEFINE_WRAPPERTYPEINFO(); |
13 | 13 |
14 public: | 14 public: |
15 virtual ~SuperAnimationTimeline() {} | 15 virtual ~SuperAnimationTimeline() {} |
16 | 16 |
17 virtual double currentTime(bool&) = 0; | 17 virtual double currentTime(bool&) = 0; |
18 | 18 |
19 virtual bool IsAnimationTimeline() const { return false; } | 19 virtual bool IsDocumentTimeline() const { return false; } |
20 | 20 |
21 DEFINE_INLINE_VIRTUAL_TRACE() {} | 21 DEFINE_INLINE_VIRTUAL_TRACE() {} |
22 }; | 22 }; |
23 | 23 |
24 } // namespace blink | 24 } // namespace blink |
25 | 25 |
26 #endif | 26 #endif |
OLD | NEW |