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

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

Issue 10537099: add "always allow" option to the mediastream infobar and allow user to allow/not allow acces to devi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/options2/content_settings.html
diff --git a/chrome/browser/resources/options2/content_settings.html b/chrome/browser/resources/options2/content_settings.html
index 4f813bfbe3fae16051633c4ad69bd6c48eeb554c..8198cfe8227e09752b714e2bf8ac663c11358685 100644
--- a/chrome/browser/resources/options2/content_settings.html
+++ b/chrome/browser/resources/options2/content_settings.html
@@ -275,10 +275,30 @@
</div>
</section>
</if>
+ <!-- MediaStream capture device filter -->
+ <section>
+ <h3 i18n-content="mediastream_tab_label"></h3>
+ <div>
+ <div class="radio">
+ <label>
+ <input type="radio" name="mediastream" value="ask">
+ <span i18n-content="mediastream_ask"></span>
+ </label>
+ </div>
+ <div class="radio">
+ <label>
+ <input type="radio" name="mediastream" value="block">
+ <span i18n-content="mediastream_block"></span>
+ </label>
+ </div>
+ <button class="exceptions-list-button" contentType="mediastream"
+ i18n-content="manage_exceptions"></button>
+ </div>
+ </section>
</div>
<div class="action-area">
<div class="button-strip">
<button id="content-settings-overlay-confirm" i18n-content="ok"></button>
</div>
</div>
-</div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698