Chromium Code Reviews| Index: webkit/media/webtexttrack_impl.h |
| diff --git a/webkit/media/webtexttrack_impl.h b/webkit/media/webtexttrack_impl.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..897f41d8f2a7bba4ae284d46ece8d345a4057ac1 |
| --- /dev/null |
| +++ b/webkit/media/webtexttrack_impl.h |
| @@ -0,0 +1,36 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef WEBKIT_MEDIA_WEBTEXTTRACK_IMPL_H_ |
| +#define WEBKIT_MEDIA_WEBTEXTTRACK_IMPL_H_ |
| + |
| +#include "base/basictypes.h" |
| +#include "media/base/text_track.h" |
| + |
| +namespace WebKit { |
| +class WebInbandTextTrackClient; |
| +} |
| + |
| +namespace webkit_media { |
| + |
| +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.
|
| + public: |
| + explicit WebTextTrackImpl(WebKit::WebInbandTextTrackClient*); |
| + virtual ~WebTextTrackImpl(); |
| + |
| + virtual void addWebVTTCue(const base::TimeDelta& start, |
| + const base::TimeDelta& end, |
| + const std::string& id, |
| + const std::string& content, |
| + const std::string& settings); |
| + |
| + private: |
| + WebKit::WebInbandTextTrackClient* const client_; |
| + DISALLOW_COPY_AND_ASSIGN(WebTextTrackImpl); |
| +}; |
| + |
| +} // namespace webkit_media |
| + |
| +#endif // WEBKIT_MEDIA_WEBTEXTTRACK_IMPL_H_ |
| + |