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

Unified Diff: Source/core/html/track/TextTrack.cpp

Issue 59913005: Remove unused TextTrack virtual functions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/track/TextTrack.h ('k') | Source/platform/graphics/media/InbandTextTrackPrivate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/TextTrack.cpp
diff --git a/Source/core/html/track/TextTrack.cpp b/Source/core/html/track/TextTrack.cpp
index 0d26419b0b2dd4db71130083e4542e7cae254e15..f07ea38d87c8004e94e936b86e1ba9f64d6b31e6 100644
--- a/Source/core/html/track/TextTrack.cpp
+++ b/Source/core/html/track/TextTrack.cpp
@@ -475,15 +475,6 @@ bool TextTrack::hasCue(TextTrackCue* cue)
return false;
}
-bool TextTrack::isMainProgramContent() const
-{
- // "Main program" content is intrinsic to the presentation of the media file, regardless of locale. Content such as
- // directors commentary is not "main program" because it is not essential for the presentation. HTML5 doesn't have
- // a way to express this in a machine-reable form, it is typically done with the track label, so we assume that caption
- // tracks are main content and all other track types are not.
- return m_kind == captionsKeyword();
-}
-
const AtomicString& TextTrack::interfaceName() const
{
return EventTargetNames::TextTrack;
« no previous file with comments | « Source/core/html/track/TextTrack.h ('k') | Source/platform/graphics/media/InbandTextTrackPrivate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698