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

Unified Diff: content/public/common/content_features.cc

Issue 2837023002: Create autoplay policy flag and merge cross-origin autoplay blocking into it. (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
Index: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index 01708dfd6bb1e036336d9b9af66c5265ec1b6beb..ccb367bcf83652249f9437d5e1c24a2d450cb024 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -329,14 +329,6 @@ const base::Feature kWebPayments{"WebPayments",
base::FEATURE_DISABLED_BY_DEFAULT};
#endif
-#if !defined(OS_ANDROID)
-// Controls whether media playback in cross-origin iframes is enabled. The
-// feature overrides |kDisableGestureRequirementForMediaPlayback|.
-const base::Feature kCrossOriginMediaPlaybackRequiresUserGesture{
- "CrossOriginMediaPlaybackRequiresUserGesture",
- base::FEATURE_DISABLED_BY_DEFAULT};
-#endif // !defined(OS_ANDROID)
-
#if defined(OS_WIN)
// Emergency "off switch" for new Windows sandbox security mitigation,
// sandbox::MITIGATION_EXTENSION_POINT_DISABLE.

Powered by Google App Engine
This is Rietveld 408576698