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

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: 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 d7a233764e9bdf0bea9d65cb3f6def70b66eabf6..cda7e58e794010f8082e3b3e1c403821d4578e17 100644
--- a/content/public/common/content_features.h
+++ b/content/public/common/content_features.h
@@ -66,12 +66,18 @@ CONTENT_EXPORT
extern const base::Feature kSendBeaconThrowForBlobWithNonSimpleType;
#if defined(OS_ANDROID)
-CONTENT_EXPORT extern const base::Feature kAutoplayMutedVideos;
CONTENT_EXPORT extern const base::Feature kImeThread;
CONTENT_EXPORT extern const base::Feature kSeccompSandboxAndroid;
CONTENT_EXPORT extern const base::Feature kWebPayments;
#endif // defined(OS_ANDROID)
+CONTENT_EXPORT extern const base::Feature kAutoplayMutedVideos;
+
+#if !defined(OS_ANDROID)
+CONTENT_EXPORT extern const base::Feature
+ kUserGestureRequiredForMediaPlaybackInCrossOriginIframes;
+#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