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

Unified Diff: media/base/media_observer.h

Issue 2538853002: Media Remoting: Draw remoting interstitial on poster image. (Closed)
Patch Set: Addressed nasko's comments. Created 3 years, 11 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 | « content/renderer/render_frame_impl.cc ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_observer.h
diff --git a/media/base/media_observer.h b/media/base/media_observer.h
index 31357810f1c03ca5cb02e6fa104aa5b768820811..55558de179952a4e1b8326654285b5ffcc5c2d85 100644
--- a/media/base/media_observer.h
+++ b/media/base/media_observer.h
@@ -7,6 +7,7 @@
#include "media/base/cdm_context.h"
#include "media/base/pipeline_metadata.h"
+#include "url/gurl.h"
namespace media {
@@ -40,6 +41,10 @@ class MEDIA_EXPORT MediaObserver {
// Called when the media is playing/paused.
virtual void OnPlaying() = 0;
virtual void OnPaused() = 0;
+
+ // Called when a poster image URL is set, which happens when media is loaded
+ // or the poster attribute is changed.
+ virtual void OnSetPoster(const GURL& poster) = 0;
};
} // namespace media
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698