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

Side by Side Diff: content/renderer/media/webinbandtexttrack_impl.cc

Issue 495353003: Move WebMediaPlayerImpl and its dependencies to media/blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 3 months 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 unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #include "content/renderer/media/webinbandtexttrack_impl.h"
6
7 #include "base/logging.h"
8
9 namespace content {
10
11 WebInbandTextTrackImpl::WebInbandTextTrackImpl(
12 Kind kind,
13 const blink::WebString& label,
14 const blink::WebString& language,
15 const blink::WebString& id,
16 int index)
17 : client_(NULL),
18 kind_(kind),
19 label_(label),
20 language_(language),
21 id_(id),
22 index_(index) {
23 }
24
25 WebInbandTextTrackImpl::~WebInbandTextTrackImpl() {
26 DCHECK(!client_);
27 }
28
29 void WebInbandTextTrackImpl::setClient(
30 blink::WebInbandTextTrackClient* client) {
31 client_ = client;
32 }
33
34 blink::WebInbandTextTrackClient* WebInbandTextTrackImpl::client() {
35 return client_;
36 }
37
38 WebInbandTextTrackImpl::Kind WebInbandTextTrackImpl::kind() const {
39 return kind_;
40 }
41
42 blink::WebString WebInbandTextTrackImpl::label() const {
43 return label_;
44 }
45
46 blink::WebString WebInbandTextTrackImpl::language() const {
47 return language_;
48 }
49
50 blink::WebString WebInbandTextTrackImpl::id() const {
51 return id_;
52 }
53
54 int WebInbandTextTrackImpl::textTrackIndex() const {
55 return index_;
56 }
57
58 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/webinbandtexttrack_impl.h ('k') | content/renderer/media/webmediaplayer_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698