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

Unified Diff: Source/web/WebMediaPlayerClientImpl.cpp

Issue 530993002: WebMediaPlayerImpl should notify ended event Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 e09e4198d026f10ed997e573e91abc0529ccd985..b83f40dd4511fbde071eba62ad86da98f79117b8 100644
--- a/Source/web/WebMediaPlayerClientImpl.cpp
+++ b/Source/web/WebMediaPlayerClientImpl.cpp
@@ -89,6 +89,11 @@ void WebMediaPlayerClientImpl::timeChanged()
m_client->mediaPlayerTimeChanged();
}
+void WebMediaPlayerClientImpl::mediaEnded()
+{
+ m_client->mediaPlayerEnded();
+}
+
void WebMediaPlayerClientImpl::repaint()
{
m_client->mediaPlayerRepaint();

Powered by Google App Engine
This is Rietveld 408576698