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

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: incorporated aaron's comments 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
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
acolwell GONE FROM CHROMIUM 2013/05/17 16:32:08 nit:Add <string> include.
Matthew Heaney (Chromium) 2013/05/18 01:35:48 Done.
8 #include "base/basictypes.h"
9 #include "media/base/text_track.h"
10
11 namespace webkit_media {
12
13 class WebInbandTextTrackImpl;
14
15 class TextTrackImpl : public media::TextTrack {
16 public:
17 explicit TextTrackImpl(WebInbandTextTrackImpl* text_track);
18 virtual ~TextTrackImpl();
19
20 virtual void addWebVTTCue(const base::TimeDelta& start,
21 const base::TimeDelta& end,
22 const std::string& id,
23 const std::string& content,
24 const std::string& settings);
25
26 private:
27 WebInbandTextTrackImpl* text_track_;
acolwell GONE FROM CHROMIUM 2013/05/17 16:32:08 nit: Make scoped_ptr<WebInbandTextTrackImpl>
Matthew Heaney (Chromium) 2013/05/18 01:35:48 Done.
28 DISALLOW_COPY_AND_ASSIGN(TextTrackImpl);
29 };
30
31 } // namespace webkit_media
32
33 #endif // WEBKIT_MEDIA_TEXTTRACK_IMPL_H_
34
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698