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

Unified Diff: media/blink/webmediaplayer_impl.h

Issue 2297973002: WMPI: Add base::Feature for disabling SurfaceViews. (Closed)
Patch Set: Created 4 years, 4 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 7c3da6389a8cadf684fc1fc93365e2a2f8730588..8caca443c13acb0853967b6fd39a56ac9aaf3094 100644
--- a/media/blink/webmediaplayer_impl.h
+++ b/media/blink/webmediaplayer_impl.h
@@ -521,6 +521,9 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl
// Force to use SurfaceView instead of SurfaceTexture on Android.
bool force_video_overlays_;
+ // Prevent use of SurfaceView on Android.
+ bool disable_video_overlays_;
+
// Suppresses calls to OnPipelineError() after destruction / shutdown has been
// started; prevents us from spuriously logging errors that are transient or
// unimportant.

Powered by Google App Engine
This is Rietveld 408576698