| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  102 #endif |  102 #endif | 
|  103     void wake(); |  103     void wake(); | 
|  104     void resetForTesting(); |  104     void resetForTesting(); | 
|  105  |  105  | 
|  106     DECLARE_TRACE(); |  106     DECLARE_TRACE(); | 
|  107  |  107  | 
|  108 protected: |  108 protected: | 
|  109     AnimationTimeline(Document*, PlatformTiming*); |  109     AnimationTimeline(Document*, PlatformTiming*); | 
|  110  |  110  | 
|  111 private: |  111 private: | 
|  112     RawPtrWillBeMember<Document> m_document; |  112     Member<Document> m_document; | 
|  113     double m_zeroTime; |  113     double m_zeroTime; | 
|  114     bool m_zeroTimeInitialized; |  114     bool m_zeroTimeInitialized; | 
|  115     unsigned m_outdatedAnimationCount; |  115     unsigned m_outdatedAnimationCount; | 
|  116     // Animations which will be updated on the next frame |  116     // Animations which will be updated on the next frame | 
|  117     // i.e. current, in effect, or had timing changed |  117     // i.e. current, in effect, or had timing changed | 
|  118     HeapHashSet<Member<Animation>> m_animationsNeedingUpdate; |  118     HeapHashSet<Member<Animation>> m_animationsNeedingUpdate; | 
|  119     HeapHashSet<WeakMember<Animation>> m_animations; |  119     HeapHashSet<WeakMember<Animation>> m_animations; | 
|  120  |  120  | 
|  121     double m_playbackRate; |  121     double m_playbackRate; | 
|  122  |  122  | 
| (...skipping 25 matching lines...) Expand all  Loading... | 
|  148         Member<AnimationTimeline> m_timeline; |  148         Member<AnimationTimeline> m_timeline; | 
|  149         Timer<AnimationTimelineTiming> m_timer; |  149         Timer<AnimationTimelineTiming> m_timer; | 
|  150     }; |  150     }; | 
|  151  |  151  | 
|  152     friend class AnimationAnimationTimelineTest; |  152     friend class AnimationAnimationTimelineTest; | 
|  153 }; |  153 }; | 
|  154  |  154  | 
|  155 } // namespace blink |  155 } // namespace blink | 
|  156  |  156  | 
|  157 #endif |  157 #endif | 
| OLD | NEW |