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; |
105 static const double s_minimumDelay; | 106 static const double s_minimumDelay; |
106 | 107 |
107 OwnPtr<PlatformTiming> m_timing; | 108 OwnPtr<PlatformTiming> m_timing; |
108 | 109 |
109 class DocumentTimelineTiming FINAL : public PlatformTiming { | 110 class DocumentTimelineTiming FINAL : public PlatformTiming { |
110 public: | 111 public: |
111 DocumentTimelineTiming(DocumentTimeline* documentTimeline) | 112 DocumentTimelineTiming(DocumentTimeline* documentTimeline) |
112 : m_timeline(documentTimeline) | 113 : m_timeline(documentTimeline) |
113 , m_timer(this, &DocumentTimelineTiming::timerFired) | 114 , m_timer(this, &DocumentTimelineTiming::timerFired) |
114 { | 115 { |
(...skipping 11 matching lines...) Expand all Loading... |
126 Timer<DocumentTimelineTiming> m_timer; | 127 Timer<DocumentTimelineTiming> m_timer; |
127 | 128 |
128 }; | 129 }; |
129 | 130 |
130 friend class AnimationDocumentTimelineTest; | 131 friend class AnimationDocumentTimelineTest; |
131 }; | 132 }; |
132 | 133 |
133 } // namespace | 134 } // namespace |
134 | 135 |
135 #endif | 136 #endif |
OLD | NEW |