| Index: webkit/media/texttrack_impl.h
|
| diff --git a/webkit/media/texttrack_impl.h b/webkit/media/texttrack_impl.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fadbb96a9bbdca142e17503dbe7a1e05ddb211df
|
| --- /dev/null
|
| +++ b/webkit/media/texttrack_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_TEXTTRACK_IMPL_H_
|
| +#define WEBKIT_MEDIA_TEXTTRACK_IMPL_H_
|
| +
|
| +#include "base/basictypes.h"
|
| +#include "media/base/text_track.h"
|
| +
|
| +namespace WebKit {
|
| +class WebInbandTextTrackClient;
|
| +}
|
| +
|
| +namespace webkit_media {
|
| +
|
| +class TextTrackImpl : public media::TextTrack {
|
| + public:
|
| + explicit TextTrackImpl(WebKit::WebInbandTextTrackClient* client);
|
| + virtual ~TextTrackImpl();
|
| +
|
| + 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(TextTrackImpl);
|
| +};
|
| +
|
| +} // namespace webkit_media
|
| +
|
| +#endif // WEBKIT_MEDIA_TEXTTRACK_IMPL_H_
|
| +
|
|
|