Index: chrome/browser/android/vr_shell/vr_shell_delegate.cc |
diff --git a/chrome/browser/android/vr_shell/vr_shell_delegate.cc b/chrome/browser/android/vr_shell/vr_shell_delegate.cc |
index 04afe1c512bfee1c83ee5d2d9235c04a5978e9cf..0c9be96911c3da3b22115300bc2994d9848a60de 100644 |
--- a/chrome/browser/android/vr_shell/vr_shell_delegate.cc |
+++ b/chrome/browser/android/vr_shell/vr_shell_delegate.cc |
@@ -31,6 +31,9 @@ class GvrNonPresentingDelegate : public device::GvrDelegate { |
const gvr::Rectf& right_bounds) override {} |
void SetGvrPoseForWebVr(const gvr::Mat4f& pose, |
uint32_t pose_index) override {} |
+ void SetWebVRRenderSurfaceSize(int width, int height) override {} |
+ gvr::Sizei GetWebVRCompositorSurfaceSize() override { |
+ return gvr::Sizei{2048, 1024}; } |
mthiesse
2016/11/16 21:30:41
More magic numbers
klausw
2016/11/16 23:37:39
Replaced with kFallbackRenderTargetSize.
|
gvr::GvrApi* gvr_api() override { return gvr_api_.get(); } |
base::WeakPtr<GvrNonPresentingDelegate> GetWeakPtr() { |
return weak_ptr_factory_.GetWeakPtr(); |