| Index: chrome/browser/android/vr_shell/ui_scene.h
|
| diff --git a/chrome/browser/android/vr_shell/ui_scene.h b/chrome/browser/android/vr_shell/ui_scene.h
|
| index 62fa01ad2dee383dff1124891d8d9ab76d3e4910..9976c8a97322e1af09a4ee57b8040ddbca306ab5 100644
|
| --- a/chrome/browser/android/vr_shell/ui_scene.h
|
| +++ b/chrome/browser/android/vr_shell/ui_scene.h
|
| @@ -21,6 +21,7 @@ namespace vr_shell {
|
|
|
| class Animation;
|
| class UiElement;
|
| +class VrSurfaceProvider;
|
|
|
| class UiScene {
|
| public:
|
| @@ -71,7 +72,7 @@ class UiScene {
|
| bool GetWebVrRenderingEnabled() const;
|
| void SetWebVrRenderingEnabled(bool enabled);
|
|
|
| - void OnGLInitialized();
|
| + void OnGLInitialized(VrSurfaceProvider*);
|
|
|
| private:
|
| void ApplyRecursiveTransforms(UiElement* element);
|
| @@ -82,6 +83,7 @@ class UiScene {
|
| float background_distance_ = 10.0f;
|
| bool webvr_rendering_enabled_ = true;
|
| bool gl_initialized_ = false;
|
| + VrSurfaceProvider* surface_provider_ = nullptr;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(UiScene);
|
| };
|
|
|