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

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: Check the exceptions before the default setting, sites in the exceptions list can access the device… 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 606080089e7da13a9f9c5de191eb48446a8f975e..739cc861ba238c1fa4c054fa5d7f34960db499d8 100644
--- a/chrome/browser/resources/options2/content_settings.html
+++ b/chrome/browser/resources/options2/content_settings.html
@@ -296,6 +296,26 @@
</div>
</section>
</if>
+ <!-- Media Stream capture device filter -->
+ <section>
+ <h3 i18n-content="mediaStreamTabLabel"></h3>
+ <div>
+ <div class="radio">
+ <label>
+ <input type="radio" name="media-stream" value="ask">
+ <span i18n-content="mediaStreamAsk"></span>
+ </label>
+ </div>
+ <div class="radio">
+ <label>
+ <input type="radio" name="media-stream" value="block">
+ <span i18n-content="mediaStreamBlock"></span>
+ </label>
+ </div>
+ <button class="exceptions-list-button" contentType="media-stream"
+ i18n-content="manage_exceptions"></button>
+ </div>
+ </section>
</div>
<div class="action-area">
<div class="button-strip">

Powered by Google App Engine
This is Rietveld 408576698