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

Unified 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: rebase 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 side-by-side diff with in-line comments
Download patch
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(
acolwell GONE FROM CHROMIUM 2013/04/23 06:34:18 This file doesn't appear to be needed anymore.
Matthew Heaney (Chromium) 2013/04/24 04:32:18 Done.
+ 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

Powered by Google App Engine
This is Rietveld 408576698