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

Unified Diff: chrome/app/generated_resources.grd

Issue 2458453002: [sensors] Add Permission guard to the generic sensor apis.
Patch Set: rebase + blink reformat Created 3 years, 8 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
« no previous file with comments | « chrome/android/java_sources.gni ('k') | chrome/app/theme/theme_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/generated_resources.grd
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 09b68f6e5089e12804f53f141656244bd48fbb05..aa6e66e23d51e97a31abc08d1eb182b21fe7e2df 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -320,6 +320,9 @@ are declared in build/common.gypi.
<message name="IDS_PAGE_INFO_TYPE_MIDI_SYSEX" desc="The label used for MIDI system exclusive message permission controls in the Website Settings popup.">
MIDI devices full control
</message>
+ <message name="IDS_WEBSITE_SETTINGS_TYPE_SENSORS" desc="The label used for permission controls for Sensors in the Website Settings popup.">
+ Sensors(motion/environment)
+ </message>
<message name="IDS_PAGE_INFO_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>
@@ -10316,6 +10319,55 @@ Tell us what happened exactly before you got the profile error message:
This page has been blocked from tracking your location.
</message>
+ <!-- Sensors messages -->
+ <message name="IDS_SENSORS_TAB_LABEL" desc="Label for Sensors on Content Settings dialog">
+ Sensors (motion/environment) full control.
+ </message>
+ <message name="IDS_SENSORS_ALLOW_RADIO" desc="A radio button in Content Settings dialog to allow a site to access Sensors messages.">
+ Allow all sites to use Sensors (motion/environment).
+ </message>
+ <message name="IDS_SENSORS_BLOCK_RADIO" desc="A radio button in Content Settings dialog to deny a site to access Sensors(motion/environment).">
+ Do not allow any sites to use Sensors(motion/environment).
+ </message>
+ <message name="IDS_SENSORS_ASK_RADIO" desc="A radio button in Content Settings dialog to allow a site to query the permision to access Sensors(motion/environment).">
+ Ask me when a site wants to use Sensors(motion/environment). (recommended)
+ </message>
+ <message name="IDS_SENSORS_INFOBAR_QUESTION" desc="Question asked on the info bar whenever URL wants to access Sensors(motion/environment).">
+ <ph name="URL">
+ $1<ex>www.google.com</ex>
+ </ph> wants to use Sensors(motion/environment).
+ </message>
+ <message name="IDS_SENSORS_PERMISSION_FRAGMENT" desc="Permission asked in the permission bubble when a URL wants to access Sensors(motion/environment), along with other permissions requests. Preceded by the prompt 'This site would like to:'">
+ Use Sensors(motion/environment).
+ </message>
+ <message name="IDS_SENSORS_ALLOW_BUTTON" desc="A button in Sensors access infobar for allowing full access to Sensors for a given domain.">
+ Allow
+ </message>
+ <message name="IDS_SENSORS_DENY_BUTTON" desc="A button in Sensors access infobar for denying full access to Sensors for a given domain.">
+ Block
+ </message>
+ <message name="IDS_SENSORS_ALLOWED_TOOLTIP" desc="Location bar icon tooltip text when a page is allowed to use Sensors(motion/environment).">
+ This page has full control of Sensors.
+ </message>
+ <message name="IDS_SENSORS_BLOCKED_TOOLTIP" desc="Location bar icon tooltip text when a page is blocked from using Sensors(motion/environment).">
+ This page has been blocked from having full control of Sensors(motion/environment).
+ </message>
+ <message name="IDS_SENSORS_BUBBLE_ALLOWED" desc="Title of the Sensors bubble where sensors are blocked.">
+ This site has full control of Sensors(motion/environment).
+ </message>
+ <message name="IDS_SENSORS_BUBBLE_DENIED" desc="Title of the Sensors bubble where sensors are blocked.">
+ This site has been blocked from having full control of Sensors(motion/environment).
+ </message>
+ <message name="IDS_SENSORS_BUBBLE_REQUIRE_RELOAD_TO_CLEAR" desc="Hint text for the Sensors bubble informing user they must reload the page for the Clear settings command to take effect.">
+ Settings will be cleared on next reload.
+ </message>
+ <message name="IDS_SENSORS_BUBBLE_CLEAR_LINK" desc="Link on the Sensors bubble that resets the list of allowed and blocked sites.">
+ Clear these settings for future visits
+ </message>
+ <message name="IDS_SENSORS_BUBBLE_MANAGE_LINK" desc="Link on the Sensors bubble that opens up the Content Settings management dialog.">
+ Manage Sensors settings...
+ </message>
+
<!-- Web MIDI messages -->
<message name="IDS_MIDI_SYSEX_TAB_LABEL" desc="Label for MIDI system exclusive message on Content Settings dialog">
MIDI devices full control
« no previous file with comments | « chrome/android/java_sources.gni ('k') | chrome/app/theme/theme_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698