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

Unified Diff: media/blink/webmediaplayer_impl.h

Issue 2387293007: Register MediaPlayerRenderer service (Closed)
Patch Set: Typo. 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
« no previous file with comments | « media/blink/watch_time_reporter.cc ('k') | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_impl.h
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h
index 9cace20b631707f9542d932fd80eadc1915046b3..729d41ec4334c2d0b0c9ab65c59daad4e9fb77ef 100644
--- a/media/blink/webmediaplayer_impl.h
+++ b/media/blink/webmediaplayer_impl.h
@@ -206,6 +206,7 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl
gfx::Size GetCanvasSize() const;
void SetDeviceScaleFactor(float scale_factor);
void setPoster(const blink::WebURL& poster) override;
+ void SetUseFallbackPath(bool use_fallback_path);
#endif
// Called from WebMediaPlayerCast.
@@ -545,6 +546,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_;
+
// 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_;
« no previous file with comments | « media/blink/watch_time_reporter.cc ('k') | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698