| Index: chrome/browser/android/vr_shell/ui_scene.cc
|
| diff --git a/chrome/browser/android/vr_shell/ui_scene.cc b/chrome/browser/android/vr_shell/ui_scene.cc
|
| index 1df212c2078aef387f3334cb77fc383fa09c2cb6..5956b75702bcf9547edb7e4a1be0b8b78c76bf69 100644
|
| --- a/chrome/browser/android/vr_shell/ui_scene.cc
|
| +++ b/chrome/browser/android/vr_shell/ui_scene.cc
|
| @@ -188,7 +188,9 @@ ColorScheme::Mode UiScene::mode() const {
|
| }
|
|
|
| SkColor UiScene::GetWorldBackgroundColor() const {
|
| - return ColorScheme::GetColorScheme(mode_).world_background;
|
| + return showing_splash_screen_
|
| + ? ColorScheme::GetColorScheme(mode_).splash_screen_background
|
| + : ColorScheme::GetColorScheme(mode_).world_background;
|
| }
|
|
|
| void UiScene::SetBackgroundDistance(float distance) {
|
| @@ -215,6 +217,10 @@ void UiScene::set_is_prompting_to_exit(bool prompting) {
|
| is_prompting_to_exit_ = prompting;
|
| }
|
|
|
| +void UiScene::set_showing_splash_screen(bool showing) {
|
| + showing_splash_screen_ = showing;
|
| +}
|
| +
|
| const std::vector<std::unique_ptr<UiElement>>& UiScene::GetUiElements() const {
|
| return ui_elements_;
|
| }
|
|
|