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

Unified Diff: content/renderer/media/webinbandtexttrack_impl.cc

Issue 63963002: Remove unused implementations in WebInbandTextTrackImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 | « content/renderer/media/webinbandtexttrack_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webinbandtexttrack_impl.cc
diff --git a/content/renderer/media/webinbandtexttrack_impl.cc b/content/renderer/media/webinbandtexttrack_impl.cc
index 3d80286cb1d853cd76a664fd64efaeda436e59e8..20f2d6f644cf9318b6a047e55faf9f68f5d642fc 100644
--- a/content/renderer/media/webinbandtexttrack_impl.cc
+++ b/content/renderer/media/webinbandtexttrack_impl.cc
@@ -14,7 +14,6 @@ WebInbandTextTrackImpl::WebInbandTextTrackImpl(
const blink::WebString& language,
int index)
: client_(NULL),
- mode_(ModeDisabled),
kind_(kind),
label_(label),
language_(language),
@@ -34,29 +33,10 @@ blink::WebInbandTextTrackClient* WebInbandTextTrackImpl::client() {
return client_;
}
-void WebInbandTextTrackImpl::setMode(Mode mode) {
- mode_ = mode;
-}
-
-WebInbandTextTrackImpl::Mode WebInbandTextTrackImpl::mode() const {
- return mode_;
-}
-
WebInbandTextTrackImpl::Kind WebInbandTextTrackImpl::kind() const {
return kind_;
}
-bool WebInbandTextTrackImpl::isClosedCaptions() const {
- switch (kind_) {
- case KindCaptions:
- case KindSubtitles:
- return true;
-
- default:
- return false;
- }
-}
-
blink::WebString WebInbandTextTrackImpl::label() const {
return label_;
}
@@ -65,10 +45,6 @@ blink::WebString WebInbandTextTrackImpl::language() const {
return language_;
}
-bool WebInbandTextTrackImpl::isDefault() const {
- return false;
-}
-
int WebInbandTextTrackImpl::textTrackIndex() const {
return index_;
}
« no previous file with comments | « content/renderer/media/webinbandtexttrack_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698