| Index: content/browser/media/android/browser_media_player_manager.h
|
| diff --git a/content/browser/media/android/browser_media_player_manager.h b/content/browser/media/android/browser_media_player_manager.h
|
| index 9f38d42f7206c34fc4291550f44cda47a2a02e3c..6bafe5bad0b82c879de36c7f0eb48e23317a215c 100644
|
| --- a/content/browser/media/android/browser_media_player_manager.h
|
| +++ b/content/browser/media/android/browser_media_player_manager.h
|
| @@ -118,6 +118,14 @@ class CONTENT_EXPORT BrowserMediaPlayerManager
|
| // TODO(qinmin): remove this once we have the new fullscreen mode.
|
| void DisableFullscreenEncryptedMediaPlayback();
|
|
|
| + // Callback for when the download of poster image is done.
|
| + virtual void DidDownloadPoster(
|
| + int id,
|
| + int http_status_code,
|
| + const GURL& image_url,
|
| + const std::vector<SkBitmap>& bitmaps,
|
| + const std::vector<gfx::Size>& original_bitmap_sizes);
|
| +
|
| protected:
|
| // Clients must use Create() or subclass constructor.
|
| explicit BrowserMediaPlayerManager(RenderViewHost* render_view_host);
|
| @@ -135,6 +143,7 @@ class CONTENT_EXPORT BrowserMediaPlayerManager
|
| virtual void OnSeek(int player_id, const base::TimeDelta& time);
|
| virtual void OnPause(int player_id, bool is_media_related_action);
|
| virtual void OnSetVolume(int player_id, double volume);
|
| + virtual void OnSetPoster(int player_id, const GURL& poster);
|
| virtual void OnReleaseResources(int player_id);
|
| virtual void OnDestroyPlayer(int player_id);
|
| void OnInitializeCDM(int media_keys_id,
|
|
|