Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: Source/core/html/track/CueTimeline.h

Issue 993563002: Remove internal uses of TrackDisplayUpdateScope in CueTimeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/html/track/CueTimeline.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CueTimeline_h 5 #ifndef CueTimeline_h
6 #define CueTimeline_h 6 #define CueTimeline_h
7 7
8 #include "core/html/track/TextTrackCue.h" 8 #include "core/html/track/TextTrackCue.h"
9 #include "core/html/track/vtt/VTTCue.h" 9 #include "core/html/track/vtt/VTTCue.h"
10 #include "platform/PODIntervalTree.h" 10 #include "platform/PODIntervalTree.h"
(...skipping 26 matching lines...) Expand all
37 void beginIgnoringUpdateRequests(); 37 void beginIgnoringUpdateRequests();
38 void endIgnoringUpdateRequests(); 38 void endIgnoringUpdateRequests();
39 39
40 CueList currentlyActiveCues() const { return m_currentlyActiveCues; } 40 CueList currentlyActiveCues() const { return m_currentlyActiveCues; }
41 41
42 DECLARE_TRACE(); 42 DECLARE_TRACE();
43 43
44 private: 44 private:
45 HTMLMediaElement& mediaElement() const { return *m_mediaElement; } 45 HTMLMediaElement& mediaElement() const { return *m_mediaElement; }
46 46
47 void addCueInternal(PassRefPtrWillBeRawPtr<TextTrackCue>);
48 void removeCueInternal(PassRefPtrWillBeRawPtr<TextTrackCue>);
49
47 RawPtrWillBeMember<HTMLMediaElement> m_mediaElement; 50 RawPtrWillBeMember<HTMLMediaElement> m_mediaElement;
48 51
49 CueIntervalTree m_cueTree; 52 CueIntervalTree m_cueTree;
50 53
51 CueList m_currentlyActiveCues; 54 CueList m_currentlyActiveCues;
52 double m_lastUpdateTime; 55 double m_lastUpdateTime;
53 56
54 int m_ignoreUpdate; 57 int m_ignoreUpdate;
55 }; 58 };
56 59
(...skipping 30 matching lines...) Expand all
87 static String string(TextTrackCue* const& cue) 90 static String string(TextTrackCue* const& cue)
88 { 91 {
89 return cue->toString(); 92 return cue->toString();
90 } 93 }
91 }; 94 };
92 #endif 95 #endif
93 96
94 } // namespace blink 97 } // namespace blink
95 98
96 #endif // CueTimeline_h 99 #endif // CueTimeline_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/track/CueTimeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698