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 6744fe61a04f0dfc4465c20d992ad979fe459000..82984bb95adf91fac783b4d54b2c0c988c3b95bf 100644 |
--- a/chrome/browser/android/vr_shell/ui_scene.cc |
+++ b/chrome/browser/android/vr_shell/ui_scene.cc |
@@ -146,10 +146,18 @@ bool UiScene::HasVisibleHeadLockedElements() const { |
return !GetHeadLockedElements().empty(); |
} |
+void UiScene::SetBackgroundColor(const vr::Colorf& color) { |
+ background_color_ = color; |
+} |
+ |
const vr::Colorf& UiScene::GetBackgroundColor() const { |
return background_color_; |
} |
+void UiScene::SetBackgroundDistance(float distance) { |
+ background_distance_ = distance; |
+} |
+ |
float UiScene::GetBackgroundDistance() const { |
return background_distance_; |
} |