Index: chrome/browser/resources/vr_shell/vr_shell_ui.js |
diff --git a/chrome/browser/resources/vr_shell/vr_shell_ui.js b/chrome/browser/resources/vr_shell/vr_shell_ui.js |
index 3c8b7c8213cbb7858663b0615d6b49af7b2cdf66..f0ec364015115fa046aec600fce0eca89863847a 100644 |
--- a/chrome/browser/resources/vr_shell/vr_shell_ui.js |
+++ b/chrome/browser/resources/vr_shell/vr_shell_ui.js |
@@ -122,6 +122,9 @@ var vrShellUi = (function() { |
class Controls { |
constructor(contentQuadId) { |
+ this.enabled = false; |
+ this.reloadUiEnabled = false; |
+ |
this.buttons = []; |
let descriptors = [ |
['#back', function() { |
@@ -198,6 +201,10 @@ var vrShellUi = (function() { |
/** @const */ var DISTANCE = 0.7; |
/** @const */ var ANGLE_UP = 16.3 * Math.PI / 180.0; |
+ this.enabled = false; |
+ this.secure = false; |
+ this.secureOriginTimer = null; |
+ |
// Permanent WebVR security warning. This warning is shown near the top of |
// the field of view. |
this.webVrSecureWarning = new DomUiElement('#webvr-not-secure-permanent'); |
@@ -271,9 +278,11 @@ var vrShellUi = (function() { |
constructor(contentQuadId) { |
this.domUiElement = new DomUiElement('#omni-container'); |
this.enabled = false; |
+ this.loading = false; |
this.level = 0; |
this.visibilityTimeout = 0; |
this.visibilityTimer = null; |
+ this.visibleAfterTransition = false; |
this.nativeState = {}; |
// Initially invisible. |