Chromium Code Reviews| 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..f8272afe89b54fc1f4e331f23a5e4bb1c6706bd8 100644 |
| --- a/chrome/browser/resources/vr_shell/vr_shell_ui.html |
| +++ b/chrome/browser/resources/vr_shell/vr_shell_ui.html |
| @@ -17,6 +17,58 @@ found in the LICENSE file. |
| <link rel="stylesheet" href="vr_shell_ui.css"> |
| </head> |
| <body> |
| +<!-- IDS_WEBSITE_SETTINGS_INSECURE_WEBVR_CONTENT_TRANSIENT message --> |
| +<div id="not-secure-verbose" style=" |
| + width: 256px; |
| + height: 128px; |
| + background: rgba(0,0,0,0); |
| + position: absolute; |
| + left: 0px; |
| + top: 0px; |
| +"><div style=" |
| + position: absolute; |
| + background-color: rgba(0, 0, 0, 0.5); |
| + width: 251px; |
| + height: 100px; |
| + left: 50%; |
| + top: 50%; |
| + transform: translate(-50%, -50%); |
| + padding: 3px; |
| + border-radius: 3px; |
| +"><span style=" |
| + font-family: sans-serif; |
| + font-size: 15px; |
| + text-align: center; |
| + color: white; |
| + width: 251px; |
| + position: absolute; |
| + left: 50%; |
| + top: 50%; |
| + transform: translate(-50%, -50%); |
| +">$i18n{insecureWebVrContentTransient}</span></div></div></body> |
| +<!-- IDS_WEBSITE_SETTINGS_INSECURE_WEBVR_CONTENT_PERMANENT message --> |
| +<div id="not-secure-small" style=" |
| + width: 128px; |
| + height: 64px; |
| + background: rgba(0,0,0,0); |
| + position: absolute; |
| + left: 256px; |
| + top: 0px; |
| +"><span style=" |
| + background: white; |
| + position: absolute; |
| + width: 100px; |
| + top: 50%; |
| + left: 50%; |
| + transform: translate(-50%, -50%); |
| + color: #444; |
| + padding: 3px; |
| + border-radius: 3px; |
| + font-family: sans-serif; |
| + font-size: 16px; |
| + text-align: center; |
| + box-shadow: 0px 0px 5px rgba(0,0,0,0.3); |
| +"><span>ⓘ</span> $i18n{insecureWebVrContentPermanent}</span></div> |
|
Dan Beam
2016/09/27 20:28:43
can you put these style="" attributes into a <styl
|
| </body> |
| <!-- Run script after creating body, to let it add its own elements. --> |