| 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 119fec7041dcf33c9df0bf69e05f7bc5ad355d49..e12cf63cbaaadd45f95b62d339402fdae0204ede 100644
|
| --- a/chrome/browser/android/vr_shell/ui_scene.h
|
| +++ b/chrome/browser/android/vr_shell/ui_scene.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| +#include "chrome/browser/android/vr_shell/color_scheme.h"
|
| #include "chrome/browser/android/vr_shell/ui_elements/ui_element_debug_id.h"
|
| #include "third_party/skia/include/core/SkColor.h"
|
|
|
| @@ -66,8 +67,11 @@ class UiScene {
|
| std::vector<const UiElement*> GetHeadLockedElements() const;
|
| bool HasVisibleHeadLockedElements() const;
|
|
|
| - void SetBackgroundColor(const SkColor& color);
|
| - const SkColor& GetBackgroundColor() const;
|
| + void SetMode(ColorScheme::Mode mode);
|
| + ColorScheme::Mode mode() const;
|
| +
|
| + SkColor GetBackgroundColor() const;
|
| +
|
| void SetBackgroundDistance(float distance);
|
| float GetBackgroundDistance() const;
|
|
|
| @@ -85,7 +89,8 @@ class UiScene {
|
|
|
| std::vector<std::unique_ptr<UiElement>> ui_elements_;
|
| UiElement* content_element_ = nullptr;
|
| - SkColor background_color_ = 0xFF1A1A1A;
|
| + ColorScheme::Mode mode_ = ColorScheme::kModeNormal;
|
| +
|
| float background_distance_ = 10.0f;
|
| bool webvr_rendering_enabled_ = true;
|
| bool gl_initialized_ = false;
|
|
|