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

Unified Diff: media/blink/webmediaplayer_impl.h

Issue 2161083004: [DO NOT COMMIT] MediaPlayerRenderer using StreamTextures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 4e3a42adcb3951afd2a0928bee50e9e373a748b8..d2a6052318c400ac135cf221b5654d215775bf21 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(GURL url);
#endif
// Called from WebMediaPlayerCast.
@@ -525,6 +526,12 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl
enum class CanSuspendState { UNKNOWN, YES, NO };
CanSuspendState can_suspend_state_;
+ // TODO(tguilber): Can this be 'deduced' from the url index parameter?
+ // URL to be used in Android fallback scenarios (e.g. HLS playback via
+ // the MediaPlayerRenderer)
+ 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_;

Powered by Google App Engine
This is Rietveld 408576698