| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 int compositorGroup() const { return m_compositorGroup; } | 170 int compositorGroup() const { return m_compositorGroup; } |
| 171 | 171 |
| 172 static bool hasLowerPriority(const Animation* animation1, const Animation* a
nimation2) | 172 static bool hasLowerPriority(const Animation* animation1, const Animation* a
nimation2) |
| 173 { | 173 { |
| 174 return animation1->sequenceNumber() < animation2->sequenceNumber(); | 174 return animation1->sequenceNumber() < animation2->sequenceNumber(); |
| 175 } | 175 } |
| 176 | 176 |
| 177 DECLARE_VIRTUAL_TRACE(); | 177 DECLARE_VIRTUAL_TRACE(); |
| 178 | 178 |
| 179 protected: | 179 protected: |
| 180 bool dispatchEventInternal(PassRefPtrWillBeRawPtr<Event>) override; | 180 EventTarget::DispatchEventResult dispatchEventInternal(PassRefPtrWillBeRawPt
r<Event>) override; |
| 181 bool addEventListenerInternal(const AtomicString& eventType, PassRefPtrWillB
eRawPtr<EventListener>, const EventListenerOptions&) override; | 181 bool addEventListenerInternal(const AtomicString& eventType, PassRefPtrWillB
eRawPtr<EventListener>, const EventListenerOptions&) override; |
| 182 | 182 |
| 183 private: | 183 private: |
| 184 Animation(ExecutionContext*, AnimationTimeline&, AnimationEffect*); | 184 Animation(ExecutionContext*, AnimationTimeline&, AnimationEffect*); |
| 185 | 185 |
| 186 void clearOutdated(); | 186 void clearOutdated(); |
| 187 | 187 |
| 188 double effectEnd() const; | 188 double effectEnd() const; |
| 189 bool limited(double currentTime) const; | 189 bool limited(double currentTime) const; |
| 190 | 190 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 | 294 |
| 295 OwnPtr<CompositorAnimationPlayer> m_compositorPlayer; | 295 OwnPtr<CompositorAnimationPlayer> m_compositorPlayer; |
| 296 | 296 |
| 297 bool m_currentTimePending; | 297 bool m_currentTimePending; |
| 298 bool m_stateIsBeingUpdated; | 298 bool m_stateIsBeingUpdated; |
| 299 }; | 299 }; |
| 300 | 300 |
| 301 } // namespace blink | 301 } // namespace blink |
| 302 | 302 |
| 303 #endif // Animation_h | 303 #endif // Animation_h |
| OLD | NEW |