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

Unified Diff: media/blink/webmediaplayer_impl.h

Issue 2487373003: Disable background video track behind a feature flag (Closed)
Patch Set: Added the feature flag to histograms.xml 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 52e99201235acd0f7dbe6f617a9c2403600d4240..9b61a77e21bb18911230885a3ed8cc50ee87ba0e 100644
--- a/media/blink/webmediaplayer_impl.h
+++ b/media/blink/webmediaplayer_impl.h
@@ -357,6 +357,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