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

Unified Diff: media/blink/webmediaplayer_impl.h

Issue 2387293007: Register MediaPlayerRenderer service (Closed)
Patch Set: Created 4 years, 2 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: media/blink/webmediaplayer_impl.h
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h
index 16f3bbdbec91f6973d68da6e9dcb52e15f4c662f..b3f19444632770806bb0b69f87bfe5d63bfe2fd9 100644
--- a/media/blink/webmediaplayer_impl.h
+++ b/media/blink/webmediaplayer_impl.h
@@ -204,6 +204,7 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl
gfx::Size GetCanvasSize() const;
void SetDeviceScaleFactor(float scale_factor);
void setPoster(const blink::WebURL& poster) override;
+ void EnableFallbackMediaPlayer(const GURL& url);
#endif
// Called from WebMediaPlayerCast.
@@ -536,6 +537,11 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl
enum class CanSuspendState { UNKNOWN, YES, NO };
CanSuspendState can_suspend_state_;
+ // Used for HLS playback and in certain fallback paths (e.g. on older devices
+ // that can't support the unified media pipeline).
+ GURL fallback_url_;
+ bool use_fallback_path_;
liberato (no reviews please) 2016/10/06 14:55:46 i don't think that this is initialized during cons
tguilbert 2016/10/11 18:54:33 Done.
+
// Called some-time after OnHidden() if the media was suspended in a playing
// state as part of the call to OnHidden().
base::OneShotTimer background_pause_timer_;

Powered by Google App Engine
This is Rietveld 408576698