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

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

Issue 2490313002: Remove fixed positioning of HTML UI elements. (Closed)
Patch Set: Remove the debugging red border (which was broken anyway). Created 4 years, 1 month 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
« no previous file with comments | « chrome/browser/resources/vr_shell/vr_shell_ui.css ('k') | chrome/browser/resources/vr_shell/vr_shell_ui.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/vr_shell/vr_shell_ui.html
diff --git a/chrome/browser/resources/vr_shell/vr_shell_ui.html b/chrome/browser/resources/vr_shell/vr_shell_ui.html
index 2efc4faa629d1b0294a4b4da33475dd86740d0f6..a4279145572e84a5b2d75810dff3826f071dc339 100644
--- a/chrome/browser/resources/vr_shell/vr_shell_ui.html
+++ b/chrome/browser/resources/vr_shell/vr_shell_ui.html
@@ -19,40 +19,44 @@ found in the LICENSE file.
</head>
<body>
<div id="ui">
- <div id="webvr-not-secure-permanent" class="webvr-message-box">
+ <div id="webvr-not-secure-permanent" class="webvr-message-box ui-element">
<div class="webvr-box">
<img class="webvr-not-secure-icon" width="36" height="36"
src="../../../../ui/webui/resources/images/i_circle.svg">
<div class="webvr-string">$i18n{insecureWebVrContentPermanent}</div>
</div>
</div>
- <div id="webvr-not-secure-transient" class="webvr-message-box">
+ <div id="webvr-not-secure-transient" class="webvr-message-box ui-element">
<div>
<div>$i18n{insecureWebVrContentTransient}</div>
</div>
</div>
-
- <div id="omni">
- <img id="connection-security"
- src="../../../../ui/webui/resources/images/i_circle.svg">
- <div id="url">
- <span id="domain"></span><span id="path"></span>
+ <div class="ui-element">
+ <div id="omni" class="idle">
+ <div id="omni-content">
+ <img id="omni-insecure-icon" class="connection-security"
+ src="../../../../ui/webui/resources/images/i_circle.svg">
+ <img id="omni-secure-icon" class="connection-security"
+ src="../../../../ui/webui/resources/images/lock.svg">
bshe 2016/11/14 16:04:53 looks like you also added secure icon to omnibox.
cjgrant 2016/11/14 16:58:29 Done.
+ <div id="url">
+ <span id="domain">www.url.com</span><span id="path">/path</span>
bshe 2016/11/14 16:04:53 why do you need placeholder texts?
cjgrant 2016/11/14 16:58:29 Done. Good catch, this was only for testing.
+ </div>
+ </div>
</div>
</div>
-
- <div class="round-button" id="back">
+ <div id="back" class="round-button ui-element">
<div class="button"></div>
<div class="caption">$i18n{back}</div>
</div>
- <div class="round-button" id="reload">
+ <div id="reload" class="round-button ui-element">
<div class="button"></div>
<div class="caption">$i18n{reload}</div>
</div>
- <div class="round-button" id="forward">
+ <div id="forward" class="round-button ui-element">
<div class="button"></div>
<div class="caption">$i18n{forward}</div>
</div>
- <div id="reload-ui-button">Reload UI</div>
+ <div id="reload-ui-button" class="ui-element">Reload UI</div>
</div>
</body>
« no previous file with comments | « chrome/browser/resources/vr_shell/vr_shell_ui.css ('k') | chrome/browser/resources/vr_shell/vr_shell_ui.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698