Index: media/blink/webmediaplayer_impl.h |
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h |
index 729d41ec4334c2d0b0c9ab65c59daad4e9fb77ef..f73cc90225cfe131da482d16baa190f9aa7ee12c 100644 |
--- a/media/blink/webmediaplayer_impl.h |
+++ b/media/blink/webmediaplayer_impl.h |
@@ -204,7 +204,9 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl |
void DisplayCastFrameAfterSuspend(const scoped_refptr<VideoFrame>& new_frame, |
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 |
@@ -534,6 +536,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. |