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

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

Issue 2692903002: Don't show media controls when there is a persistent video. (Closed)
Patch Set: cleanup and tests Created 3 years, 10 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/web_preferences.cc
diff --git a/content/public/common/web_preferences.cc b/content/public/common/web_preferences.cc
index 2034641d95e84f09635607eb45641a7912c3a3d0..fe09c82e32f450f8bb28f12785807b53e2836a4c 100644
--- a/content/public/common/web_preferences.cc
+++ b/content/public/common/web_preferences.cc
@@ -209,6 +209,7 @@ WebPreferences::WebPreferences()
progress_bar_completion(ProgressBarCompletion::LOAD_EVENT),
spellcheck_enabled_by_default(true),
video_fullscreen_orientation_lock_enabled(false),
+ media_controls_enabled(true),
nasko 2017/02/13 22:28:43 Keep the ordering the same as the header file.
mlamouri (slow - plz ping) 2017/02/14 11:19:46 Same as above. Though, we really should initialis
#else // defined(OS_ANDROID)
cross_origin_media_playback_requires_user_gesture(false),
#endif // defined(OS_ANDROID)

Powered by Google App Engine
This is Rietveld 408576698