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

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
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 TextTrackImpl : public media::TextTrack {
18 public:
19 explicit TextTrackImpl(WebKit::WebInbandTextTrackClient*);
acolwell GONE FROM CHROMIUM 2013/05/10 18:41:39 nit: Add parameter name here since this is chromiu
Matthew Heaney (Chromium) 2013/05/11 07:29:13 Done.
20 virtual ~TextTrackImpl();
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(TextTrackImpl);
31 };
32
33 } // namespace webkit_media
34
35 #endif // WEBKIT_MEDIA_TEXTTRACK_IMPL_H_
36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698