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

Unified Diff: chrome/browser/resources/vr_shell/vr_shell_ui_api.js

Issue 2442873002: Control the VrShell content quad via the HTML UI. (Closed)
Patch Set: Created 4 years, 2 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/resources/vr_shell/vr_shell_ui_api.js
diff --git a/chrome/browser/resources/vr_shell/vr_shell_ui_api.js b/chrome/browser/resources/vr_shell/vr_shell_ui_api.js
index e90757e343bf59fd9639aa12ffd0d8d8d2251774..a62e5cfbd4ddb2b8d722e44655a1d0fcdfa855aa 100644
--- a/chrome/browser/resources/vr_shell/vr_shell_ui_api.js
+++ b/chrome/browser/resources/vr_shell/vr_shell_ui_api.js
@@ -106,6 +106,10 @@ var api = (function() {
*/
class UiElementUpdate {
+ setIsContentQuad() {
+ this.contentQuad = true;
+ }
+
/**
* Specify a parent for this element. If set, this element is positioned
* relative to its parent element, rather than absolutely. This allows

Powered by Google App Engine
This is Rietveld 408576698