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

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: incorporate aaron's comments 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 "WebInbandTextTrackClientImpl.h"
2
3 #include <wtf/ExportMacros.h>
4 #include <wtf/text/WTFString.h>
5 #include "InbandTextTrackPrivateClient.h"
6 #define WEBKIT_IMPLEMENTATION 1
7 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h"
8
9 namespace WebKit {
10
11 WebInbandTextTrackClientImpl::WebInbandTextTrackClientImpl(
12 WebCore::InbandTextTrackPrivateClient* client)
13 : m_client(client)
14 {
15 ASSERT(client);
16 }
17
18 void WebInbandTextTrackClientImpl::addWebVTTCue(
19 WebCore::InbandTextTrackPrivate* track,
20 double start,
21 double end,
22 const WebString& id,
23 const WebString& content,
24 const WebString& settings)
25 {
26 m_client->addWebVTTCue(track, start, end, id, content, settings);
27 }
28
29 } // namespace WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698