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

Side by Side Diff: Source/WebKit/chromium/src/WebInbandTextTrackClientImpl.cpp

Issue 13968007: Create WebInbandTextTrack and WebInbandTextTrackClient (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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 #include <wtf/ExportMacros.h>
2 #include <wtf/text/WTFString.h>
3 #include "InbandTextTrackPrivateClient.h"
4 #include "WebInbandTextTrackClientImpl.h"
5 #define WEBKIT_IMPLEMENTATION 1
6 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h"
7
8 namespace WebKit {
9
10 WebInbandTextTrackClientImpl::WebInbandTextTrackClientImpl(
11 WebCore::InbandTextTrackPrivateClient* client)
12 : client_(client) {
acolwell GONE FROM CHROMIUM 2013/04/17 00:13:56 nit: { on its own line and add ASSERT(client);
Matthew Heaney (Chromium) 2013/04/18 23:15:42 Done.
13 }
14
15 void WebInbandTextTrackClientImpl::addWebVTTCue(
16 double start,
17 double end,
18 const WebString& id,
19 const WebString& content,
20 const WebString& settings) {
acolwell GONE FROM CHROMIUM 2013/04/17 00:13:56 nit: { on its own line.
Matthew Heaney (Chromium) 2013/04/18 23:15:42 Done.
21 // TODO(matthewjheaney): resolve value of first param
acolwell GONE FROM CHROMIUM 2013/04/17 00:13:56 looks like a pointer to the InbandTextTrackPrivate
Matthew Heaney (Chromium) 2013/04/18 23:15:42 Done.
22 client_->addWebVTTCue(NULL, start, end, id, content, settings);
23 }
24
25 } // namespace WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698