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

Unified Diff: media/base/media_switches.cc

Issue 2845973005: Reland of name kDisableGestureRequirementForMediaPlayback and make it a test-only flag. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « media/base/media_switches.h ('k') | tools/perf/benchmarks/blink_perf.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_switches.cc
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
index 571974cd77a5f13cc5d4085dac1d5f3cb2210c89..1769cff8ffbccd1692a74811ee9a091887951937 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -137,6 +137,12 @@
// Default values are 150M for video and 12M for audio.
const char kMSEAudioBufferSizeLimit[] = "mse-audio-buffer-size-limit";
const char kMSEVideoBufferSizeLimit[] = "mse-video-buffer-size-limit";
+
+// Ignores all autoplay restrictions. It will ignore the current autoplay policy
+// and all restrictions such as playback in a background tab. It should only be
+// enabled for testing.
+const char kIgnoreAutoplayRestrictionsForTests[] =
+ "ignore-autoplay-restrictions";
namespace autoplay {
« no previous file with comments | « media/base/media_switches.h ('k') | tools/perf/benchmarks/blink_perf.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698