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

Unified Diff: public/platform/WebMediaPlayer.h

Issue 131763011: Expose the poster image URL to WebMediaPlayer subclasses (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: jochen@ comment Created 6 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: public/platform/WebMediaPlayer.h
diff --git a/public/platform/WebMediaPlayer.h b/public/platform/WebMediaPlayer.h
index 0d83c8caf30f028e5080265cfdaba66f5cd6b0fa..f329a926cbd2d1f578f8e096dd792256239171bb 100644
--- a/public/platform/WebMediaPlayer.h
+++ b/public/platform/WebMediaPlayer.h
@@ -154,6 +154,9 @@ public:
virtual MediaKeyException cancelKeyRequest(const WebString& keySystem, const WebString& sessionId) { return MediaKeyExceptionKeySystemNotSupported; }
virtual void setContentDecryptionModule(WebContentDecryptionModule* cdm) { }
+ // Sets the poster image URL.
+ virtual void setPoster(const WebURL& poster) { }
+
// Instruct WebMediaPlayer to enter/exit fullscreen.
virtual void enterFullscreen() { }
virtual void exitFullscreen() { }
« Source/web/WebMediaPlayerClientImpl.cpp ('K') | « Source/web/WebMediaPlayerClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698