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

Unified Diff: Source/web/WebMediaPlayerClientImpl.cpp

Issue 946503003: Add HTMLMediaElement.waitingforkey event (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rename Created 5 years, 10 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/web/WebMediaPlayerClientImpl.cpp
diff --git a/Source/web/WebMediaPlayerClientImpl.cpp b/Source/web/WebMediaPlayerClientImpl.cpp
index e5e8987b1e7e95ebafc74659511a9b8db31d4f87..37d09497c1d588fc77953daf521ff31a55bb375e 100644
--- a/Source/web/WebMediaPlayerClientImpl.cpp
+++ b/Source/web/WebMediaPlayerClientImpl.cpp
@@ -128,6 +128,16 @@ void WebMediaPlayerClientImpl::encrypted(const WebString& initDataType, const un
HTMLMediaElementEncryptedMedia::encrypted(mediaElement(), initDataType, initData, initDataLength);
}
+void WebMediaPlayerClientImpl::waitingForKey()
+{
+ HTMLMediaElementEncryptedMedia::waitingForKey(mediaElement());
+}
+
+void WebMediaPlayerClientImpl::noLongerWaitingForKey()
+{
+ HTMLMediaElementEncryptedMedia::noLongerWaitingForKey(mediaElement());
+}
+
void WebMediaPlayerClientImpl::setWebLayer(WebLayer* layer)
{
m_client->mediaPlayerSetWebLayer(layer);

Powered by Google App Engine
This is Rietveld 408576698