| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 return animation1->sequenceNumber() < animation2->sequenceNumber(); | 177 return animation1->sequenceNumber() < animation2->sequenceNumber(); |
| 178 } | 178 } |
| 179 | 179 |
| 180 bool effectSuppressed() const { return m_effectSuppressed; } | 180 bool effectSuppressed() const { return m_effectSuppressed; } |
| 181 void setEffectSuppressed(bool); | 181 void setEffectSuppressed(bool); |
| 182 | 182 |
| 183 DECLARE_VIRTUAL_TRACE(); | 183 DECLARE_VIRTUAL_TRACE(); |
| 184 | 184 |
| 185 protected: | 185 protected: |
| 186 DispatchEventResult dispatchEventInternal(Event*) override; | 186 DispatchEventResult dispatchEventInternal(Event*) override; |
| 187 bool addEventListenerInternal(const AtomicString& eventType, EventListener*,
const EventListenerOptions&) override; | 187 void addedEventListener(const AtomicString& eventType, RegisteredEventListen
er&) override; |
| 188 | 188 |
| 189 private: | 189 private: |
| 190 Animation(ExecutionContext*, AnimationTimeline&, AnimationEffect*); | 190 Animation(ExecutionContext*, AnimationTimeline&, AnimationEffect*); |
| 191 | 191 |
| 192 void clearOutdated(); | 192 void clearOutdated(); |
| 193 | 193 |
| 194 double effectEnd() const; | 194 double effectEnd() const; |
| 195 bool limited(double currentTime) const; | 195 bool limited(double currentTime) const; |
| 196 | 196 |
| 197 AnimationPlayState calculatePlayState(); | 197 AnimationPlayState calculatePlayState(); |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 | 302 |
| 303 bool m_currentTimePending; | 303 bool m_currentTimePending; |
| 304 bool m_stateIsBeingUpdated; | 304 bool m_stateIsBeingUpdated; |
| 305 | 305 |
| 306 bool m_effectSuppressed; | 306 bool m_effectSuppressed; |
| 307 }; | 307 }; |
| 308 | 308 |
| 309 } // namespace blink | 309 } // namespace blink |
| 310 | 310 |
| 311 #endif // Animation_h | 311 #endif // Animation_h |
| OLD | NEW |