| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef AnimationPlayerEvent_h | 5 #ifndef AnimationPlayerEvent_h |
| 6 #define AnimationPlayerEvent_h | 6 #define AnimationPlayerEvent_h |
| 7 | 7 |
| 8 #include "core/events/Event.h" | 8 #include "core/events/Event.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 return adoptRef(new AnimationPlayerEvent(type, initializer)); | 32 return adoptRef(new AnimationPlayerEvent(type, initializer)); |
| 33 } | 33 } |
| 34 | 34 |
| 35 virtual ~AnimationPlayerEvent(); | 35 virtual ~AnimationPlayerEvent(); |
| 36 | 36 |
| 37 double currentTime() const; | 37 double currentTime() const; |
| 38 double timelineTime() const; | 38 double timelineTime() const; |
| 39 | 39 |
| 40 virtual const AtomicString& interfaceName() const override; | 40 virtual const AtomicString& interfaceName() const override; |
| 41 | 41 |
| 42 virtual void trace(Visitor*) override; | |
| 43 | |
| 44 private: | 42 private: |
| 45 AnimationPlayerEvent(); | 43 AnimationPlayerEvent(); |
| 46 AnimationPlayerEvent(const AtomicString& type, double currentTime, double ti
melineTime); | 44 AnimationPlayerEvent(const AtomicString& type, double currentTime, double ti
melineTime); |
| 47 AnimationPlayerEvent(const AtomicString&, const AnimationPlayerEventInit&); | 45 AnimationPlayerEvent(const AtomicString&, const AnimationPlayerEventInit&); |
| 48 | 46 |
| 49 double m_currentTime; | 47 double m_currentTime; |
| 50 double m_timelineTime; | 48 double m_timelineTime; |
| 51 }; | 49 }; |
| 52 | 50 |
| 53 } // namespace blink | 51 } // namespace blink |
| 54 | 52 |
| 55 #endif // AnimationPlayerEvent_h | 53 #endif // AnimationPlayerEvent_h |
| OLD | NEW |