| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 return adoptRef(new AnimationEvent(type, initializer)); | 56 return adoptRef(new AnimationEvent(type, initializer)); |
| 57 } | 57 } |
| 58 | 58 |
| 59 virtual ~AnimationEvent(); | 59 virtual ~AnimationEvent(); |
| 60 | 60 |
| 61 const String& animationName() const; | 61 const String& animationName() const; |
| 62 double elapsedTime() const; | 62 double elapsedTime() const; |
| 63 | 63 |
| 64 virtual const AtomicString& interfaceName() const override; | 64 virtual const AtomicString& interfaceName() const override; |
| 65 | 65 |
| 66 virtual void trace(Visitor*) override; | |
| 67 | |
| 68 private: | 66 private: |
| 69 AnimationEvent(); | 67 AnimationEvent(); |
| 70 AnimationEvent(const AtomicString& type, const String& animationName, double
elapsedTime); | 68 AnimationEvent(const AtomicString& type, const String& animationName, double
elapsedTime); |
| 71 AnimationEvent(const AtomicString&, const AnimationEventInit&); | 69 AnimationEvent(const AtomicString&, const AnimationEventInit&); |
| 72 | 70 |
| 73 String m_animationName; | 71 String m_animationName; |
| 74 double m_elapsedTime; | 72 double m_elapsedTime; |
| 75 }; | 73 }; |
| 76 | 74 |
| 77 } // namespace blink | 75 } // namespace blink |
| 78 | 76 |
| 79 #endif // AnimationEvent_h | 77 #endif // AnimationEvent_h |
| OLD | NEW |