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

Unified Diff: Source/platform/graphics/media/MediaPlayer.h

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/platform/graphics/media/MediaPlayer.h
diff --git a/Source/platform/graphics/media/MediaPlayer.h b/Source/platform/graphics/media/MediaPlayer.h
index 8a802a28dc5a497322527b176da00f0f09d7d41e..0be5d5e7c72ad8f59d6192bde72aea1081c79421 100644
--- a/Source/platform/graphics/media/MediaPlayer.h
+++ b/Source/platform/graphics/media/MediaPlayer.h
@@ -54,6 +54,9 @@ public:
// time has jumped, eg. not as a result of normal playback
virtual void mediaPlayerTimeChanged() = 0;
+ // the media has reached the end
+ virtual void mediaPlayerEnded() = 0;
+
// the media file duration has changed, or is now known
virtual void mediaPlayerDurationChanged() = 0;

Powered by Google App Engine
This is Rietveld 408576698