Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 | |
| OLD | NEW |