Commit 801601cb authored by klausw's avatar klausw Committed by Commit bot

WebVR: Strings for insecure content warning display

On WebVR pages loaded over insecure transport, show a small "Not secure"
warning overlay permanently, and a transient more verbose warning for a
short time on first entering the page.

The implementation will use these localized strings, to be submitted
separately. (See https://codereview.chromium.org/2363553003 for
context.)

R=blundell@chromium.org, bshe@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2368443002
Cr-Commit-Position: refs/heads/master@{#420535}
parent 883442d2
......@@ -383,6 +383,12 @@ are declared in build/common.gypi.
<message name="IDS_WEBSITE_SETTINGS_INSECURE_PASSIVE_CONTENT" desc="Text that is displayed in the header of the Website Settings popup if the website uses secure transport but included passive resources (e.g. images) over non-secure transport.">
Your connection to this site is private, but someone on the network might be able to change the look of the page.
</message>
<message name="IDS_WEBSITE_SETTINGS_INSECURE_WEBVR_CONTENT_TRANSIENT" desc="Text that is displayed temporarily as a large toast on first entering a WebVR page over non-secure transport.">
Your connection to this site is not private. To exit VR mode at any time, remove headset and press back.
</message>
<message name="IDS_WEBSITE_SETTINGS_INSECURE_WEBVR_CONTENT_PERMANENT" desc="Text that is displayed in a small permanent notification on a WebVR page loaded over non-secure transport. (Should be short, does not need to be a complete sentence.)">
Not secure
</message>
<message name="IDS_WEBSITE_SETTINGS_NUM_COOKIES" desc="The label of the counts for allowed cookies that are in use on the page.">
{NUM_COOKIES, plural, =1 {1 in use} other {# in use}}
</message>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment