Index: Source/core/html/HTMLMediaElement.h |
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h |
index 56d6cde91c9703f4241e167cf3595c98ef0c161d..92a9c151aa9d8074ce596253546afdb69afd61b1 100644 |
--- a/Source/core/html/HTMLMediaElement.h |
+++ b/Source/core/html/HTMLMediaElement.h |
@@ -201,30 +201,7 @@ public: |
// FIXME: Remove this when WebMediaPlayerClientImpl::loadInternal does not depend on it. |
virtual KURL mediaPlayerPosterURL() override { return KURL(); } |
- class TrackGroup { |
- STACK_ALLOCATED(); |
- public: |
- enum GroupKind { CaptionsAndSubtitles, Description, Chapter, Metadata, Other }; |
- |
- explicit TrackGroup(GroupKind kind) |
- : visibleTrack(nullptr) |
- , defaultTrack(nullptr) |
- , kind(kind) |
- , hasSrcLang(false) |
- { |
- } |
- |
- WillBeHeapVector<RefPtrWillBeMember<TextTrack>> tracks; |
- RefPtrWillBeMember<TextTrack> visibleTrack; |
- RefPtrWillBeMember<TextTrack> defaultTrack; |
- GroupKind kind; |
- bool hasSrcLang; |
- }; |
- |
- void configureTextTrackGroupForLanguage(const TrackGroup&) const; |
void honorUserPreferencesForAutomaticTextTrackSelection(); |
- void performAutomaticTextTrackSelection(const TrackGroup&); |
- void enableDefaultMetadataTextTracks(const TrackGroup&); |
bool textTracksAreReady() const; |
enum VisibilityChangeAssumption { |