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

Side by Side Diff: media/blink/webinbandtexttrack_impl.h

Issue 787343003: Remove the index of in-band tracks on the Chromium side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | media/blink/webinbandtexttrack_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef MEDIA_BLINK_WEBINBANDTEXTTRACK_IMPL_H_ 5 #ifndef MEDIA_BLINK_WEBINBANDTEXTTRACK_IMPL_H_
6 #define MEDIA_BLINK_WEBINBANDTEXTTRACK_IMPL_H_ 6 #define MEDIA_BLINK_WEBINBANDTEXTTRACK_IMPL_H_
7 7
8 #include "third_party/WebKit/public/platform/WebInbandTextTrack.h" 8 #include "third_party/WebKit/public/platform/WebInbandTextTrack.h"
9 #include "third_party/WebKit/public/platform/WebString.h" 9 #include "third_party/WebKit/public/platform/WebString.h"
10 10
11 namespace media { 11 namespace media {
12 12
13 class WebInbandTextTrackImpl : public blink::WebInbandTextTrack { 13 class WebInbandTextTrackImpl : public blink::WebInbandTextTrack {
14 public: 14 public:
15 WebInbandTextTrackImpl(Kind kind, 15 WebInbandTextTrackImpl(Kind kind,
16 const blink::WebString& label, 16 const blink::WebString& label,
17 const blink::WebString& language, 17 const blink::WebString& language,
18 const blink::WebString& id, 18 const blink::WebString& id);
19 int index);
20 virtual ~WebInbandTextTrackImpl(); 19 virtual ~WebInbandTextTrackImpl();
21 20
22 virtual void setClient(blink::WebInbandTextTrackClient* client); 21 virtual void setClient(blink::WebInbandTextTrackClient* client);
23 virtual blink::WebInbandTextTrackClient* client(); 22 virtual blink::WebInbandTextTrackClient* client();
24 23
25 virtual Kind kind() const; 24 virtual Kind kind() const;
26 25
27 virtual blink::WebString label() const; 26 virtual blink::WebString label() const;
28 virtual blink::WebString language() const; 27 virtual blink::WebString language() const;
29 virtual blink::WebString id() const; 28 virtual blink::WebString id() const;
30 29
31 virtual int textTrackIndex() const;
32
33 private: 30 private:
34 blink::WebInbandTextTrackClient* client_; 31 blink::WebInbandTextTrackClient* client_;
35 Kind kind_; 32 Kind kind_;
36 blink::WebString label_; 33 blink::WebString label_;
37 blink::WebString language_; 34 blink::WebString language_;
38 blink::WebString id_; 35 blink::WebString id_;
39 int index_;
40 DISALLOW_COPY_AND_ASSIGN(WebInbandTextTrackImpl); 36 DISALLOW_COPY_AND_ASSIGN(WebInbandTextTrackImpl);
41 }; 37 };
42 38
43 } // namespace media 39 } // namespace media
44 40
45 #endif // MEDIA_BLINK_WEBINBANDTEXTTRACK_IMPL_H_ 41 #endif // MEDIA_BLINK_WEBINBANDTEXTTRACK_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | media/blink/webinbandtexttrack_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698