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

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

Issue 13419002: Media Source dispatches inband text tracks (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: clean compile 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_WEBTEXTTRACK_IMPL_H_
6 #define WEBKIT_MEDIA_WEBTEXTTRACK_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 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.
18 public:
19 explicit WebTextTrackImpl(WebKit::WebInbandTextTrackClient*);
20 virtual ~WebTextTrackImpl();
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(WebTextTrackImpl);
31 };
32
33 } // namespace webkit_media
34
35 #endif // WEBKIT_MEDIA_WEBTEXTTRACK_IMPL_H_
36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698