Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3096)

Unified Diff: chrome/browser/android/vr_shell/ui_scene.h

Issue 2844313002: Add VR gradient and grid background to non-WebVR scene. (Closed)
Patch Set: Rebase onto amp@'s magic number CL. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a70a3c087b209086e89a44f4539fec465dee5b5f..56077e056e930274cd13b8b8a3a4459ee0527915 100644
--- a/chrome/browser/android/vr_shell/ui_scene.h
+++ b/chrome/browser/android/vr_shell/ui_scene.h
@@ -62,8 +62,11 @@ class UiScene {
std::vector<const UiElement*> GetHeadLockedElements() const;
bool HasVisibleHeadLockedElements() const;
+ void SetBackgroundColor(const vr::Colorf& color);
const vr::Colorf& GetBackgroundColor() const;
+ void SetBackgroundDistance(float distance);
float GetBackgroundDistance() const;
+
bool GetWebVrRenderingEnabled() const;
void OnGLInitialized();
« no previous file with comments | « chrome/browser/android/vr_shell/ui_elements/ui_element.h ('k') | chrome/browser/android/vr_shell/ui_scene.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698