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

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 again 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
« no previous file with comments | « Source/web/WebMediaPlayerClientImpl.h ('k') | public/platform/WebMediaPlayerClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebMediaPlayerClientImpl.cpp
diff --git a/Source/web/WebMediaPlayerClientImpl.cpp b/Source/web/WebMediaPlayerClientImpl.cpp
index e5e8987b1e7e95ebafc74659511a9b8db31d4f87..02872502d667a342d04ddd66b3957f2c6920bee1 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::didBlockPlaybackWaitingForKey()
+{
+ HTMLMediaElementEncryptedMedia::didBlockPlaybackWaitingForKey(mediaElement());
+}
+
+void WebMediaPlayerClientImpl::didResumePlaybackBlockedForKey()
+{
+ HTMLMediaElementEncryptedMedia::didResumePlaybackBlockedForKey(mediaElement());
+}
+
void WebMediaPlayerClientImpl::setWebLayer(WebLayer* layer)
{
m_client->mediaPlayerSetWebLayer(layer);
« no previous file with comments | « Source/web/WebMediaPlayerClientImpl.h ('k') | public/platform/WebMediaPlayerClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698