| OLD | NEW |
| (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 #ifndef CONTENT_RENDERER_MEDIA_WEBINBANDTEXTTRACK_IMPL_H_ | |
| 6 #define CONTENT_RENDERER_MEDIA_WEBINBANDTEXTTRACK_IMPL_H_ | |
| 7 | |
| 8 #include "third_party/WebKit/public/platform/WebInbandTextTrack.h" | |
| 9 #include "third_party/WebKit/public/platform/WebString.h" | |
| 10 | |
| 11 namespace content { | |
| 12 | |
| 13 class WebInbandTextTrackImpl : public blink::WebInbandTextTrack { | |
| 14 public: | |
| 15 WebInbandTextTrackImpl(Kind kind, | |
| 16 const blink::WebString& label, | |
| 17 const blink::WebString& language, | |
| 18 const blink::WebString& id, | |
| 19 int index); | |
| 20 virtual ~WebInbandTextTrackImpl(); | |
| 21 | |
| 22 virtual void setClient(blink::WebInbandTextTrackClient* client); | |
| 23 virtual blink::WebInbandTextTrackClient* client(); | |
| 24 | |
| 25 virtual Kind kind() const; | |
| 26 | |
| 27 virtual blink::WebString label() const; | |
| 28 virtual blink::WebString language() const; | |
| 29 virtual blink::WebString id() const; | |
| 30 | |
| 31 virtual int textTrackIndex() const; | |
| 32 | |
| 33 private: | |
| 34 blink::WebInbandTextTrackClient* client_; | |
| 35 Kind kind_; | |
| 36 blink::WebString label_; | |
| 37 blink::WebString language_; | |
| 38 blink::WebString id_; | |
| 39 int index_; | |
| 40 DISALLOW_COPY_AND_ASSIGN(WebInbandTextTrackImpl); | |
| 41 }; | |
| 42 | |
| 43 } // namespace content | |
| 44 | |
| 45 #endif // CONTENT_RENDERER_MEDIA_WEBINBANDTEXTTRACK_IMPL_H_ | |
| OLD | NEW |