Index: media/blink/webmediaplayer_impl.h |
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h |
index 6e01840d71c6e0e05129c139d91354fd04f2f4d9..e1606b0d37165ac5e8c7ec37700975f2d756e310 100644 |
--- a/media/blink/webmediaplayer_impl.h |
+++ b/media/blink/webmediaplayer_impl.h |
@@ -207,6 +207,7 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl |
PipelineStatus status); |
gfx::Size GetCanvasSize() const; |
void SetDeviceScaleFactor(float scale_factor); |
+ void SetInVr(bool in_vr); |
void setPoster(const blink::WebURL& poster) override; |
void SetUseFallbackPath(bool use_fallback_path); |
#endif |
@@ -539,6 +540,10 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl |
// |force_video_overlays_| is true.) |
bool disable_fullscreen_video_overlays_; |
+ // Prevent use of SurfaceView on Android. (Overrides |
+ // |force_video_overlays_|.) |
+ bool in_vr_; |
+ |
// Suppresses calls to OnPipelineError() after destruction / shutdown has been |
// started; prevents us from spuriously logging errors that are transient or |
// unimportant. |