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

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

Issue 2834543006: Hook up insecure content warnings for http webVR presentation. (Closed)
Patch Set: rebase 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 9ab39b64c4de6d186e6bd67c9694319959f2e465..a70a3c087b209086e89a44f4539fec465dee5b5f 100644
--- a/chrome/browser/android/vr_shell/ui_scene.h
+++ b/chrome/browser/android/vr_shell/ui_scene.h
@@ -66,6 +66,8 @@ class UiScene {
float GetBackgroundDistance() const;
bool GetWebVrRenderingEnabled() const;
+ void OnGLInitialized();
+
private:
void ApplyRecursiveTransforms(UiElement* element);
@@ -74,6 +76,7 @@ class UiScene {
vr::Colorf background_color_ = {0.1f, 0.1f, 0.1f, 1.0f};
float background_distance_ = 10.0f;
bool webvr_rendering_enabled_ = true;
+ bool gl_initialized_ = false;
DISALLOW_COPY_AND_ASSIGN(UiScene);
};
« no previous file with comments | « chrome/browser/android/vr_shell/ui_elements/ui_element_unittest.cc ('k') | chrome/browser/android/vr_shell/ui_scene.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698