1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/renderer/media/webinbandtexttrack_impl.h"
7 #include "base/logging.h"
11 WebInbandTextTrackImpl::WebInbandTextTrackImpl(
13 const WebKit::WebString& label,
14 const WebKit::WebString& language,
24 WebInbandTextTrackImpl::~WebInbandTextTrackImpl() {
28 void WebInbandTextTrackImpl::setClient(
29 WebKit::WebInbandTextTrackClient* client) {
33 WebKit::WebInbandTextTrackClient* WebInbandTextTrackImpl::client() {
37 void WebInbandTextTrackImpl::setMode(Mode mode) {
41 WebInbandTextTrackImpl::Mode WebInbandTextTrackImpl::mode() const {
45 WebInbandTextTrackImpl::Kind WebInbandTextTrackImpl::kind() const {
49 bool WebInbandTextTrackImpl::isClosedCaptions() const {
60 WebKit::WebString WebInbandTextTrackImpl::label() const {
64 WebKit::WebString WebInbandTextTrackImpl::language() const {
68 bool WebInbandTextTrackImpl::isDefault() const {
72 int WebInbandTextTrackImpl::textTrackIndex() const {
76 } // namespace content