| Index: Source/WebKit/chromium/src/WebInbandTextTrackClientImpl.cpp
|
| diff --git a/Source/WebKit/chromium/src/WebInbandTextTrackClientImpl.cpp b/Source/WebKit/chromium/src/WebInbandTextTrackClientImpl.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dffd3b67ad62e805e619db9dbd854c753a64a320
|
| --- /dev/null
|
| +++ b/Source/WebKit/chromium/src/WebInbandTextTrackClientImpl.cpp
|
| @@ -0,0 +1,29 @@
|
| +#include "WebInbandTextTrackClientImpl.h"
|
| +
|
| +#include <wtf/ExportMacros.h>
|
| +#include <wtf/text/WTFString.h>
|
| +#include "InbandTextTrackPrivateClient.h"
|
| +#define WEBKIT_IMPLEMENTATION 1
|
| +#include "third_party/WebKit/Source/Platform/chromium/public/WebString.h"
|
| +
|
| +namespace WebKit {
|
| +
|
| +WebInbandTextTrackClientImpl::WebInbandTextTrackClientImpl(
|
| + WebCore::InbandTextTrackPrivateClient* client)
|
| + : m_client(client)
|
| +{
|
| + ASSERT(client);
|
| +}
|
| +
|
| +void WebInbandTextTrackClientImpl::addWebVTTCue(
|
| + WebCore::InbandTextTrackPrivate* track,
|
| + double start,
|
| + double end,
|
| + const WebString& id,
|
| + const WebString& content,
|
| + const WebString& settings)
|
| +{
|
| + m_client->addWebVTTCue(track, start, end, id, content, settings);
|
| +}
|
| +
|
| +} // namespace WebKit
|
|
|