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

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

Issue 2363553003: VrShell: implement insecure content warning display (Closed)
Patch Set: Rebase to ToT (no changes to patched files) 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.js
diff --git a/chrome/browser/resources/vr_shell/vr_shell_ui.js b/chrome/browser/resources/vr_shell/vr_shell_ui.js
index 12fe8a3ba4091d12372bd353052e1f6b307675a6..711634c329247d6471c9550e8bc5df59a67b7218 100644
--- a/chrome/browser/resources/vr_shell/vr_shell_ui.js
+++ b/chrome/browser/resources/vr_shell/vr_shell_ui.js
@@ -182,7 +182,7 @@ var vrShellUi = (function() {
for (var i = 0; i < buttons.length; i++) {
var b = document.createElement('div');
b.position = 'absolute';
- b.style.top = '200px';
+ b.style.top = '384px';
b.style.left = 50 * i + 'px';
b.style.width = '50px';
b.style.height = '50px';
@@ -197,7 +197,7 @@ var vrShellUi = (function() {
document.body.appendChild(b);
// Add a UI rectangle for the button.
- var el = new UiElement(50 * i, 200, 50, 50, buttonWidth, buttonHeight);
+ var el = new UiElement(50 * i, 384, 50, 50, buttonWidth, buttonHeight);
el.parentId = 0;
el.setAnchoring(XAnchoring.XNONE, YAnchoring.YBOTTOM);
el.setTranslation(buttonStartPosition + buttonSpacing * i, -0.3, 0.0);
« no previous file with comments | « chrome/browser/resources/vr_shell/vr_shell_ui.html ('k') | chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698