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

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

Issue 2363553003: VrShell: implement insecure content warning display (Closed)
Patch Set: dbeam #58/#59: CSS fixes, move icon to separate resource file 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.html
diff --git a/chrome/browser/resources/vr_shell/vr_shell_ui.html b/chrome/browser/resources/vr_shell/vr_shell_ui.html
index 4cd5ace00c6038e043499b80c96dafd6d48160ae..15adae2a183a9ba8dd4aa67c21b82ed0fded11ae 100644
--- a/chrome/browser/resources/vr_shell/vr_shell_ui.html
+++ b/chrome/browser/resources/vr_shell/vr_shell_ui.html
@@ -17,6 +17,19 @@ found in the LICENSE file.
<link rel="stylesheet" href="vr_shell_ui.css">
</head>
<body>
+<div id="webvr-not-secure-permanent" class="webvr-message-box">
+ <div class="webvr-box">
+ <img class="webvr-not-secure-icon" width="36px" height="36px"
Dan Beam 2016/10/03 20:30:59 are you sure this width/height is working? i thin
klausw 2016/10/03 21:28:19 Fixed, thanks. (Chrome appears to ignore the suffi
+ 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>
+ <div>$i18n{insecureWebVrContentTransient}</div>
+ </div>
+</div>
+
</body>
<!-- Run script after creating body, to let it add its own elements. -->

Powered by Google App Engine
This is Rietveld 408576698