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

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

Issue 2496593002: Adding an experimental flag to block autoplay with sound in cross-origin iframes (Closed)
Patch Set: falling back to adding a boolean flag Created 4 years, 1 month 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.h
diff --git a/content/public/common/content_features.h b/content/public/common/content_features.h
index 61dbd2631267f1096e26a20a19db7ec64449ebff..9fe446200f59e3c0da340b7f49e8ebc3d246daec 100644
--- a/content/public/common/content_features.h
+++ b/content/public/common/content_features.h
@@ -72,6 +72,11 @@ CONTENT_EXPORT extern const base::Feature kSeccompSandboxAndroid;
CONTENT_EXPORT extern const base::Feature kWebPayments;
#endif // defined(OS_ANDROID)
+#if !defined(OS_ANDROID)
+CONTENT_EXPORT extern const base::Feature
+ kCrossOriginMediaPlaybackRequiresUserGesture;
+#endif // !defined(OS_ANDROID)
+
#if defined(OS_WIN)
CONTENT_EXPORT extern const base::Feature kWinSboxDisableExtensionPoints;
#endif // defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698