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

Unified Diff: media/blink/webmediaplayer_impl.h

Issue 2487373003: Disable background video track behind a feature flag (Closed)
Patch Set: Updated test files Created 4 years, 1 month 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 3cfc57fdc75a625fe4dd7fc011eedaf3d6c7c721..fe692e07c65d0e1ab75fbb659a6cd383ec5d45cd 100644
--- a/media/blink/webmediaplayer_impl.h
+++ b/media/blink/webmediaplayer_impl.h
@@ -360,6 +360,9 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl
void CreateWatchTimeReporter();
+ // Returns true if the player is hidden.
+ bool IsHidden() const;
+
blink::WebLocalFrame* frame_;
// The playback state last reported to |delegate_|, to avoid setting duplicate

Powered by Google App Engine
This is Rietveld 408576698