| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 } | 110 } |
| 111 bool limited() const { return limited(currentTimeInternal()); } | 111 bool limited() const { return limited(currentTimeInternal()); } |
| 112 bool finishedInternal() const { return m_finished; } | 112 bool finishedInternal() const { return m_finished; } |
| 113 | 113 |
| 114 DEFINE_ATTRIBUTE_EVENT_LISTENER(finish); | 114 DEFINE_ATTRIBUTE_EVENT_LISTENER(finish); |
| 115 DEFINE_ATTRIBUTE_EVENT_LISTENER(cancel); | 115 DEFINE_ATTRIBUTE_EVENT_LISTENER(cancel); |
| 116 | 116 |
| 117 const AtomicString& interfaceName() const override; | 117 const AtomicString& interfaceName() const override; |
| 118 ExecutionContext* getExecutionContext() const override; | 118 ExecutionContext* getExecutionContext() const override; |
| 119 bool hasPendingActivity() const final; | 119 bool hasPendingActivity() const final; |
| 120 void stop() override; | 120 void contextDestroyed() override; |
| 121 | 121 |
| 122 double playbackRate() const; | 122 double playbackRate() const; |
| 123 void setPlaybackRate(double); | 123 void setPlaybackRate(double); |
| 124 const AnimationTimeline* timeline() const { return m_timeline; } | 124 const AnimationTimeline* timeline() const { return m_timeline; } |
| 125 AnimationTimeline* timeline() { return m_timeline; } | 125 AnimationTimeline* timeline() { return m_timeline; } |
| 126 | 126 |
| 127 double calculateStartTime(double currentTime) const; | 127 double calculateStartTime(double currentTime) const; |
| 128 bool hasStartTime() const { return !isNull(m_startTime); } | 128 bool hasStartTime() const { return !isNull(m_startTime); } |
| 129 double startTime(bool& isNull) const; | 129 double startTime(bool& isNull) const; |
| 130 double startTime() const; | 130 double startTime() const; |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 | 311 |
| 312 bool m_currentTimePending; | 312 bool m_currentTimePending; |
| 313 bool m_stateIsBeingUpdated; | 313 bool m_stateIsBeingUpdated; |
| 314 | 314 |
| 315 bool m_effectSuppressed; | 315 bool m_effectSuppressed; |
| 316 }; | 316 }; |
| 317 | 317 |
| 318 } // namespace blink | 318 } // namespace blink |
| 319 | 319 |
| 320 #endif // Animation_h | 320 #endif // Animation_h |
| OLD | NEW |