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

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

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 unified diff | Download patch
« no previous file with comments | « no previous file | content/renderer/media/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 CONTENT_RENDERER_MEDIA_WEBINBANDTEXTTRACK_IMPL_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBINBANDTEXTTRACK_IMPL_H_
6 #define CONTENT_RENDERER_MEDIA_WEBINBANDTEXTTRACK_IMPL_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBINBANDTEXTTRACK_IMPL_H_
7 7
8 #include "third_party/WebKit/public/platform/WebString.h" 8 #include "third_party/WebKit/public/platform/WebString.h"
9 #include "third_party/WebKit/public/web/WebInbandTextTrack.h" 9 #include "third_party/WebKit/public/web/WebInbandTextTrack.h"
10 10
11 namespace content { 11 namespace content {
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 int index); 18 int index);
19 virtual ~WebInbandTextTrackImpl(); 19 virtual ~WebInbandTextTrackImpl();
20 20
21 virtual void setClient(blink::WebInbandTextTrackClient* client); 21 virtual void setClient(blink::WebInbandTextTrackClient* client);
22 virtual blink::WebInbandTextTrackClient* client(); 22 virtual blink::WebInbandTextTrackClient* client();
23 23
24 virtual void setMode(Mode mode);
25 virtual Mode mode() const;
26
27 virtual Kind kind() const; 24 virtual Kind kind() const;
28 virtual bool isClosedCaptions() const;
29 25
30 virtual blink::WebString label() const; 26 virtual blink::WebString label() const;
31 virtual blink::WebString language() const; 27 virtual blink::WebString language() const;
32 virtual bool isDefault() const;
33 28
34 virtual int textTrackIndex() const; 29 virtual int textTrackIndex() const;
35 30
36 private: 31 private:
37 blink::WebInbandTextTrackClient* client_; 32 blink::WebInbandTextTrackClient* client_;
38 Mode mode_;
39 Kind kind_; 33 Kind kind_;
40 blink::WebString label_; 34 blink::WebString label_;
41 blink::WebString language_; 35 blink::WebString language_;
42 int index_; 36 int index_;
43 DISALLOW_COPY_AND_ASSIGN(WebInbandTextTrackImpl); 37 DISALLOW_COPY_AND_ASSIGN(WebInbandTextTrackImpl);
44 }; 38 };
45 39
46 } // namespace content 40 } // namespace content
47 41
48 #endif // CONTENT_RENDERER_MEDIA_WEBINBANDTEXTTRACK_IMPL_H_ 42 #endif // CONTENT_RENDERER_MEDIA_WEBINBANDTEXTTRACK_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/webinbandtexttrack_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698