| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012 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 WEBKIT_MEDIA_TEXTTRACK_IMPL_H_ |
| 6 #define WEBKIT_MEDIA_TEXTTRACK_IMPL_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "media/base/text_track.h" |
| 10 |
| 11 namespace WebKit { |
| 12 class WebInbandTextTrackClient; |
| 13 } |
| 14 |
| 15 namespace webkit_media { |
| 16 |
| 17 class TextTrackImpl : public media::TextTrack { |
| 18 public: |
| 19 explicit TextTrackImpl(WebKit::WebInbandTextTrackClient* client); |
| 20 virtual ~TextTrackImpl(); |
| 21 |
| 22 virtual void addWebVTTCue(const base::TimeDelta& start, |
| 23 const base::TimeDelta& end, |
| 24 const std::string& id, |
| 25 const std::string& content, |
| 26 const std::string& settings); |
| 27 |
| 28 private: |
| 29 WebKit::WebInbandTextTrackClient* const client_; |
| 30 DISALLOW_COPY_AND_ASSIGN(TextTrackImpl); |
| 31 }; |
| 32 |
| 33 } // namespace webkit_media |
| 34 |
| 35 #endif // WEBKIT_MEDIA_TEXTTRACK_IMPL_H_ |
| 36 |
| OLD | NEW |