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

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

Issue 2496593002: Adding an experimental flag to block autoplay with sound in cross-origin iframes (Closed)
Patch Set: nits Created 4 years 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 | « content/public/common/content_features.cc ('k') | content/public/common/web_preferences.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/web_preferences.h
diff --git a/content/public/common/web_preferences.h b/content/public/common/web_preferences.h
index e6ad3dcf1859674a1af9781a0b654de9286d5596..1b5944a512fcd03a3d314b6a38f36f3699ec70bf 100644
--- a/content/public/common/web_preferences.h
+++ b/content/public/common/web_preferences.h
@@ -249,7 +249,9 @@ struct CONTENT_EXPORT WebPreferences {
bool spellcheck_enabled_by_default;
// If enabled, when a video goes fullscreen, the orientation should be locked.
bool video_fullscreen_orientation_lock_enabled;
-#endif
+#else // defined(OS_ANDROID)
+ bool cross_origin_media_playback_requires_user_gesture;
+#endif // defined(OS_ANDROID)
// Default (used if the page or UA doesn't override these) values for page
// scale limits. These are set directly on the WebView so there's no analogue
« no previous file with comments | « content/public/common/content_features.cc ('k') | content/public/common/web_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698