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

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

Issue 2628313002: [Media] Plumb a feature parameter for the background video keyframe distance. (Closed)
Patch Set: Changed the param to milliseconds Created 3 years, 11 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
« no previous file with comments | « content/public/common/web_preferences.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/web_preferences.cc
diff --git a/content/public/common/web_preferences.cc b/content/public/common/web_preferences.cc
index 7f24f093344baf7644a82e7aad06619881926dbb..c3f26aeeecf5571b28450522e68e7c3cbf35aa43 100644
--- a/content/public/common/web_preferences.cc
+++ b/content/public/common/web_preferences.cc
@@ -223,6 +223,8 @@ WebPreferences::WebPreferences()
#endif
hide_download_ui(false),
background_video_track_optimization_enabled(false),
+ max_keyframe_distance_to_disable_background_video(
+ base::TimeDelta::FromSeconds(10)),
presentation_receiver(false) {
standard_font_family_map[kCommonScript] =
base::ASCIIToUTF16("Times New Roman");
« no previous file with comments | « content/public/common/web_preferences.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698