| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 int compositorGroup() const { return m_compositorGroup; } | 174 int compositorGroup() const { return m_compositorGroup; } |
| 175 | 175 |
| 176 static bool hasLowerPriority(const Animation* animation1, const Animation* a
nimation2) | 176 static bool hasLowerPriority(const Animation* animation1, const Animation* a
nimation2) |
| 177 { | 177 { |
| 178 return animation1->sequenceNumber() < animation2->sequenceNumber(); | 178 return animation1->sequenceNumber() < animation2->sequenceNumber(); |
| 179 } | 179 } |
| 180 | 180 |
| 181 bool effectSuppressed() const { return m_effectSuppressed; } | 181 bool effectSuppressed() const { return m_effectSuppressed; } |
| 182 void setEffectSuppressed(bool); | 182 void setEffectSuppressed(bool); |
| 183 | 183 |
| 184 void invalidateKeyframeEffect(); |
| 185 |
| 184 DECLARE_VIRTUAL_TRACE(); | 186 DECLARE_VIRTUAL_TRACE(); |
| 185 | 187 |
| 186 protected: | 188 protected: |
| 187 DispatchEventResult dispatchEventInternal(Event*) override; | 189 DispatchEventResult dispatchEventInternal(Event*) override; |
| 188 void addedEventListener(const AtomicString& eventType, RegisteredEventListen
er&) override; | 190 void addedEventListener(const AtomicString& eventType, RegisteredEventListen
er&) override; |
| 189 | 191 |
| 190 private: | 192 private: |
| 191 Animation(ExecutionContext*, AnimationTimeline&, AnimationEffect*); | 193 Animation(ExecutionContext*, AnimationTimeline&, AnimationEffect*); |
| 192 | 194 |
| 193 void clearOutdated(); | 195 void clearOutdated(); |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 | 305 |
| 304 bool m_currentTimePending; | 306 bool m_currentTimePending; |
| 305 bool m_stateIsBeingUpdated; | 307 bool m_stateIsBeingUpdated; |
| 306 | 308 |
| 307 bool m_effectSuppressed; | 309 bool m_effectSuppressed; |
| 308 }; | 310 }; |
| 309 | 311 |
| 310 } // namespace blink | 312 } // namespace blink |
| 311 | 313 |
| 312 #endif // Animation_h | 314 #endif // Animation_h |
| OLD | NEW |