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

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: rebased, addressed comments from Ivan, let "block" apply before exceptions 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..954ca45fc73de06b7ff55f74cb0b4c314276b7d1 100644
--- a/chrome/browser/resources/options2/content_settings.html
+++ b/chrome/browser/resources/options2/content_settings.html
@@ -296,6 +296,26 @@
</div>
</section>
</if>
+ <!-- MediaStream capture device filter -->
+ <section>
+ <h3 i18n-content="mediastream_tab_label"></h3>
Evan Stade 2012/06/15 18:51:25 these i18n var names should be camel case. Also, p
no longer working on chromium 2012/06/15 21:04:47 I checked the naming style for the existing code,
Evan Stade 2012/06/15 21:33:32 examples of i18n-content="camelCase" in this file:
no longer working on chromium 2012/06/18 10:22:49 Thanks for pointing out, this file is indeed misle
+ <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">

Powered by Google App Engine
This is Rietveld 408576698