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

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

Issue 343743004: Implement a permission check for push. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add content settings html sections Created 6 years, 6 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/options/content_settings.html
diff --git a/chrome/browser/resources/options/content_settings.html b/chrome/browser/resources/options/content_settings.html
index 176c72d650dfcb928ec82f0be5aa44c83adeac63..d96f4f8c096210a93af2a64b9f29101b046789c8 100644
--- a/chrome/browser/resources/options/content_settings.html
+++ b/chrome/browser/resources/options/content_settings.html
@@ -585,6 +585,34 @@
</div>
</div>
</section>
+ <!-- Push messaging filter -->
+ <section id="experimental-push-messaging-settings" hidden="true">
+ <h3 i18n-content="push-messaging_header"></h3>
+ <div>
+ <div class="radio">
+ <label>
+ <input type="radio" name="push-messaging" value="allow">
+ <span i18n-content="pushMessagingAllow"></span>
+ </label>
+ </div>
+ <div class="radio">
+ <label>
+ <input type="radio" name="push-messaging" value="ask">
+ <span i18n-content="pushMessagingAsk"></span>
+ </label>
+ </div>
+ <div class="radio">
+ <label>
+ <input type="radio" name="push-messaging" value="block">
+ <span i18n-content="pushMessagingBlock"></span>
+ </label>
+ </div>
+ <div class="settings-row">
+ <button class="exceptions-list-button" contentType="push-messaging"
+ i18n-content="manageExceptions"></button>
+ </div>
+ </div>
+ </section>
<!-- Page zoom levels -->
<section id="page-zoom-levels">
<h3 i18n-content="zoomlevels_header"></h3>

Powered by Google App Engine
This is Rietveld 408576698