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

Side by Side Diff: webkit/media/webinbandtexttrackprivateclient_impl.cc

Issue 13419002: Media Source dispatches inband text tracks (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 8 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) 2013 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 #include "webinbandtexttrackprivateclient_impl.h"
6 // TODO(matthewjheaney): this doesn't compile, because it pulls in color.h
7 //#include
8 // "third_party/WebKit/Source/WebCore/platform/graphics/
9 // InbandTextTrackPrivateClient.h"
10
11 namespace webkit_media {
12
13 WebInbandTextTrackPrivateClientImpl::WebInbandTextTrackPrivateClientImpl()
14 : client_(NULL) { // TODO(matthewjheaney
15 }
16
17 WebInbandTextTrackPrivateClientImpl::~WebInbandTextTrackPrivateClientImpl() {
18 }
19
20 void WebInbandTextTrackPrivateClientImpl::addWebVTTCue(
21 WebKit::WebInbandTextTrackPrivate*, // TODO(matthewjheaney): ?
22 double start,
23 double end,
24 const WebKit::WebString& id,
25 const WebKit::WebString& content,
26 const WebKit::WebString& settings) {
27 // TODO(matthewjheaney):
28 //client_->addWebVTTCue(start,
fgalligan1 2013/04/02 19:38:32 I think this should be client()->addWebVTTCue()
Matthew Heaney (Chromium) 2013/04/04 04:01:52 OBE
29 // end,
30 // id,
31 // content,
32 // settings);
33 }
34
35 } // namespace webkit_media
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698