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

Side by Side Diff: third_party/WebKit/Source/core/animation/SuperAnimationTimeline.h

Issue 2948193002: Merge AnimationTimeline and DocumentTimeline (Closed)
Patch Set: Fix rebase error Created 3 years, 5 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 unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698