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

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

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (Closed)
Patch Set: Created 3 years, 8 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
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"
11 #include "platform/heap/Handle.h" 11 #include "platform/heap/Handle.h"
12 #include "wtf/Vector.h" 12 #include "platform/wtf/Vector.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class HTMLMediaElement; 16 class HTMLMediaElement;
17 class TextTrackCueList; 17 class TextTrackCueList;
18 18
19 // TODO(Oilpan): This needs to be PODIntervalTree<double, Member<TextTrackCue>>. 19 // TODO(Oilpan): This needs to be PODIntervalTree<double, Member<TextTrackCue>>.
20 // However, it is not easy to move PODIntervalTree to the heap (for a 20 // However, it is not easy to move PODIntervalTree to the heap (for a
21 // C++-template reason) so we leave it as a raw pointer at the moment. This is 21 // C++-template reason) so we leave it as a raw pointer at the moment. This is
22 // safe because CueTimeline and TextTrackCue are guaranteed to die at the same 22 // safe because CueTimeline and TextTrackCue are guaranteed to die at the same
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 template <> 92 template <>
93 struct ValueToString<TextTrackCue*> { 93 struct ValueToString<TextTrackCue*> {
94 static String ToString(TextTrackCue* const& cue) { return cue->ToString(); } 94 static String ToString(TextTrackCue* const& cue) { return cue->ToString(); }
95 }; 95 };
96 #endif 96 #endif
97 97
98 } // namespace blink 98 } // namespace blink
99 99
100 #endif // CueTimeline_h 100 #endif // CueTimeline_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698