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

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

Issue 1414853003: Add options for audio/video autoplay to chrome://settings/content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 803b8c06dc6f1bdd032ef5e6667a08a9778d48e7..1f3e3953da2a03422f3115db84d91664cce35225 100644
--- a/chrome/browser/resources/options/content_settings.html
+++ b/chrome/browser/resources/options/content_settings.html
@@ -614,6 +614,35 @@
</div>
</div>
</section>
+ <!-- Media autoplay settings -->
msramek 2015/10/28 10:42:50 I'd move this up, just below mic and camera, since
+ <section>
+ <h3 i18n-content="mediaAutoplayHeader"></h3>
+ <div>
+ <div class="radio">
+ <label>
+ <input type="radio" name="media-autoplay" value="allow">
+ <span i18n-content="mediaAutoplayAllow"></span>
+ </label>
+ </div>
+ <div class="radio">
+ <label>
+ <input type="radio" name="media-autoplay"
+ value="detect_important_content">
+ <span i18n-content="mediaAutoplayDetectImportantContent"></span>
+ </label>
+ </div>
+ <div class="radio">
+ <label>
+ <input type="radio" name="media-autoplay" value="block">
+ <span i18n-content="mediaAutoplayBlock"></span>
+ </label>
+ </div>
+ <div class="settings-row">
+ <button class="exceptions-list-button" contentType="media-autoplay"
+ i18n-content="manageExceptions"></button>
+ </div>
+ </div>
+ </section>
</div>
<div class="action-area">
<div class="button-strip">

Powered by Google App Engine
This is Rietveld 408576698