OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 #include "webkit/renderer/media/webinbandtexttrack_impl.h" | 5 #include "content/renderer/media/webinbandtexttrack_impl.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace webkit_media { | 9 namespace content { |
10 | 10 |
11 WebInbandTextTrackImpl::WebInbandTextTrackImpl( | 11 WebInbandTextTrackImpl::WebInbandTextTrackImpl( |
12 Kind kind, | 12 Kind kind, |
13 const WebKit::WebString& label, | 13 const WebKit::WebString& label, |
14 const WebKit::WebString& language, | 14 const WebKit::WebString& language, |
15 int index) | 15 int index) |
16 : client_(NULL), | 16 : client_(NULL), |
17 mode_(ModeDisabled), | 17 mode_(ModeDisabled), |
18 kind_(kind), | 18 kind_(kind), |
19 label_(label), | 19 label_(label), |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 } | 66 } |
67 | 67 |
68 bool WebInbandTextTrackImpl::isDefault() const { | 68 bool WebInbandTextTrackImpl::isDefault() const { |
69 return false; | 69 return false; |
70 } | 70 } |
71 | 71 |
72 int WebInbandTextTrackImpl::textTrackIndex() const { | 72 int WebInbandTextTrackImpl::textTrackIndex() const { |
73 return index_; | 73 return index_; |
74 } | 74 } |
75 | 75 |
76 } // namespace webkit_media | 76 } // namespace content |
OLD | NEW |