| 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 #ifndef WEBKIT_RENDERER_MEDIA_WEBINBANDTEXTTRACK_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_WEBINBANDTEXTTRACK_IMPL_H_ |
| 6 #define WEBKIT_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 webkit_media { | 11 namespace content { |
| 12 | 12 |
| 13 class WebInbandTextTrackImpl : public WebKit::WebInbandTextTrack { | 13 class WebInbandTextTrackImpl : public WebKit::WebInbandTextTrack { |
| 14 public: | 14 public: |
| 15 WebInbandTextTrackImpl(Kind kind, | 15 WebInbandTextTrackImpl(Kind kind, |
| 16 const WebKit::WebString& label, | 16 const WebKit::WebString& label, |
| 17 const WebKit::WebString& language, | 17 const WebKit::WebString& language, |
| 18 int index); | 18 int index); |
| 19 virtual ~WebInbandTextTrackImpl(); | 19 virtual ~WebInbandTextTrackImpl(); |
| 20 | 20 |
| 21 virtual void setClient(WebKit::WebInbandTextTrackClient* client); | 21 virtual void setClient(WebKit::WebInbandTextTrackClient* client); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 36 private: | 36 private: |
| 37 WebKit::WebInbandTextTrackClient* client_; | 37 WebKit::WebInbandTextTrackClient* client_; |
| 38 Mode mode_; | 38 Mode mode_; |
| 39 Kind kind_; | 39 Kind kind_; |
| 40 WebKit::WebString label_; | 40 WebKit::WebString label_; |
| 41 WebKit::WebString language_; | 41 WebKit::WebString language_; |
| 42 int index_; | 42 int index_; |
| 43 DISALLOW_COPY_AND_ASSIGN(WebInbandTextTrackImpl); | 43 DISALLOW_COPY_AND_ASSIGN(WebInbandTextTrackImpl); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace webkit_media | 46 } // namespace content |
| 47 | 47 |
| 48 #endif // WEBKIT_RENDERER_MEDIA_WEBINBANDTEXTTRACK_IMPL_H_ | 48 #endif // CONTENT_RENDERER_MEDIA_WEBINBANDTEXTTRACK_IMPL_H_ |
| OLD | NEW |