Chromium Code Reviews| 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_WEBTEXTTRACK_IMPL_H_ | |
| 6 #define WEBKIT_MEDIA_WEBTEXTTRACK_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 WebTextTrackImpl : public media::TextTrack { | |
|
acolwell GONE FROM CHROMIUM
2013/05/10 02:22:08
nit: No need for Web prefix. TextTrackImpl is fine
Matthew Heaney (Chromium)
2013/05/10 05:21:08
Done.
| |
| 18 public: | |
| 19 explicit WebTextTrackImpl(WebKit::WebInbandTextTrackClient*); | |
| 20 virtual ~WebTextTrackImpl(); | |
| 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(WebTextTrackImpl); | |
| 31 }; | |
| 32 | |
| 33 } // namespace webkit_media | |
| 34 | |
| 35 #endif // WEBKIT_MEDIA_WEBTEXTTRACK_IMPL_H_ | |
| 36 | |
| OLD | NEW |