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

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

Issue 2363553003: VrShell: implement insecure content warning display (Closed)
Patch Set: Address Dan's review comments Created 4 years, 3 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..37e48deebc613799867af69fb982a10944baffe9 100644
--- a/chrome/browser/resources/vr_shell/vr_shell_ui.html
+++ b/chrome/browser/resources/vr_shell/vr_shell_ui.html
@@ -17,6 +17,21 @@ found in the LICENSE file.
<link rel="stylesheet" href="vr_shell_ui.css">
</head>
<body>
+<div id="webvr-not-secure-transient" class="webvr-message-box">
+ <div>
+ <div>
+ Your connection to this site is not
+ private. To exit VR mode at any time, remove headset and press
+ back.
+ <!-- $i18n{insecureWebVrContentTransient} -->
+ </div>
+ </div>
+</div>
+<div id="webvr-not-secure-permanent" class="webvr-message-box">
+ <span>&#x24d8; Not secure
+ <!-- $i18n{insecureWebVrContentPermanent} -->
+ </span>
+</div>
</body>
<!-- Run script after creating body, to let it add its own elements. -->

Powered by Google App Engine
This is Rietveld 408576698