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

Unified Diff: chrome/browser/resources/options/content_settings.html

Issue 2458453002: [sensors] Add Permission guard to the generic sensor apis.
Patch Set: Move permissions stuff to SensorProxy, remove aw related stuff Created 4 years, 1 month 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/options/content_settings.html
diff --git a/chrome/browser/resources/options/content_settings.html b/chrome/browser/resources/options/content_settings.html
index 149be9d1553143a96d63440944de30f2a5cb7b4d..e84045e42006acaaa857d05a38b5a50f2f0735be 100644
--- a/chrome/browser/resources/options/content_settings.html
+++ b/chrome/browser/resources/options/content_settings.html
@@ -554,6 +554,34 @@
</div>
</div>
</section>
+ <!-- Sensors filter -->
+ <section>
+ <h3 i18n-content="sensorsHeader"></h3>
+ <div>
+ <div class="radio">
+ <label>
+ <input type="radio" name="sensors" value="allow">
+ <span i18n-content="sensorsAllow"></span>
+ </label>
+ </div>
+ <div class="radio">
+ <label>
+ <input type="radio" name="sensors" value="ask">
+ <span i18n-content="sensorsAsk"></span>
+ </label>
+ </div>
+ <div class="radio">
+ <label>
+ <input type="radio" name="sensors" value="block">
+ <span i18n-content="sensorsBlock"></span>
+ </label>
+ </div>
+ <div class="settings-row">
+ <button class="exceptions-list-button" contentType="sensors"
+ i18n-content="manageExceptions"></button>
+ </div>
+ </div>
+ </section>
<!-- Push messaging filter -->
<section id="experimental-push-messaging-settings" hidden="true">
<h3 i18n-content="pushMessagingHeader"></h3>

Powered by Google App Engine
This is Rietveld 408576698