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

Unified Diff: media/blink/webmediaplayer_impl.h

Issue 2796193002: fix canplaythrough (Closed)
Patch Set: comments addressed Created 3 years, 8 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 4726d393661f966f93097be588c2708bbb9f301c..cacd62e46d63ce3f8463edd45c30a2ce7486f282 100644
--- a/media/blink/webmediaplayer_impl.h
+++ b/media/blink/webmediaplayer_impl.h
@@ -455,6 +455,13 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl
// handling a src= or MSE based playback.
void RecordUnderflowDuration(base::TimeDelta duration);
+ // Called when loading progresses.
DaleCurtis 2017/04/06 22:51:40 Needs comment differentiating it from didLoadingPr
hubbe 2017/04/07 19:35:51 Done.
+ void OnProgress();
+
+ // Returns true when we estimate that we can play the rest of the media
+ // without buffering.
+ bool CanPlayThrough();
+
blink::WebLocalFrame* frame_;
// The playback state last reported to |delegate_|, to avoid setting duplicate

Powered by Google App Engine
This is Rietveld 408576698