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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 double m_zeroTime; | 95 double m_zeroTime; |
96 Document* m_document; | 96 Document* m_document; |
97 // Players which will be updated on the next frame | 97 // Players which will be updated on the next frame |
98 // i.e. current, in effect, or had timing changed | 98 // i.e. current, in effect, or had timing changed |
99 HashSet<RefPtr<Player> > m_playersNeedingUpdate; | 99 HashSet<RefPtr<Player> > m_playersNeedingUpdate; |
100 HashSet<Player*> m_players; | 100 HashSet<Player*> m_players; |
101 bool m_hasOutdatedPlayer; | 101 bool m_hasOutdatedPlayer; |
102 | 102 |
103 void wake(); | 103 void wake(); |
104 | 104 |
105 friend class SMILTimeContainer; | |
106 static const double s_minimumDelay; | 105 static const double s_minimumDelay; |
107 | 106 |
108 OwnPtr<PlatformTiming> m_timing; | 107 OwnPtr<PlatformTiming> m_timing; |
109 | 108 |
110 class DocumentTimelineTiming FINAL : public PlatformTiming { | 109 class DocumentTimelineTiming FINAL : public PlatformTiming { |
111 public: | 110 public: |
112 DocumentTimelineTiming(DocumentTimeline* documentTimeline) | 111 DocumentTimelineTiming(DocumentTimeline* documentTimeline) |
113 : m_timeline(documentTimeline) | 112 : m_timeline(documentTimeline) |
114 , m_timer(this, &DocumentTimelineTiming::timerFired) | 113 , m_timer(this, &DocumentTimelineTiming::timerFired) |
115 { | 114 { |
(...skipping 11 matching lines...) Expand all Loading... |
127 Timer<DocumentTimelineTiming> m_timer; | 126 Timer<DocumentTimelineTiming> m_timer; |
128 | 127 |
129 }; | 128 }; |
130 | 129 |
131 friend class AnimationDocumentTimelineTest; | 130 friend class AnimationDocumentTimelineTest; |
132 }; | 131 }; |
133 | 132 |
134 } // namespace | 133 } // namespace |
135 | 134 |
136 #endif | 135 #endif |
OLD | NEW |