Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Side by Side Diff: webkit/media/texttrack_impl.h

Issue 13419002: Media Source dispatches inband text tracks (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webkit/media/android/media_source_delegate.cc ('k') | webkit/media/texttrack_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 <string>
9
10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "media/base/text_track.h"
13
14 namespace webkit_media {
15
16 class WebInbandTextTrackImpl;
17
18 class TextTrackImpl : public media::TextTrack {
19 public:
20 explicit TextTrackImpl(WebInbandTextTrackImpl* text_track);
21 virtual ~TextTrackImpl();
22
23 virtual void addWebVTTCue(const base::TimeDelta& start,
24 const base::TimeDelta& end,
25 const std::string& id,
26 const std::string& content,
27 const std::string& settings) OVERRIDE;
28
29 private:
30 scoped_ptr<WebInbandTextTrackImpl> text_track_;
31 DISALLOW_COPY_AND_ASSIGN(TextTrackImpl);
32 };
33
34 } // namespace webkit_media
35
36 #endif // WEBKIT_MEDIA_TEXTTRACK_IMPL_H_
37
OLDNEW
« no previous file with comments | « webkit/media/android/media_source_delegate.cc ('k') | webkit/media/texttrack_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698