Index: content/public/common/web_preferences.h |
diff --git a/content/public/common/web_preferences.h b/content/public/common/web_preferences.h |
index 4835144f9ff454ad268b1b4c5ec085257bcdf805..62fd756ed1514a0fceda77c3210be6f92b1b2271 100644 |
--- a/content/public/common/web_preferences.h |
+++ b/content/public/common/web_preferences.h |
@@ -263,6 +263,10 @@ struct CONTENT_EXPORT WebPreferences { |
// If enabled, disabled video track when the video is in the background. |
bool background_video_track_optimization_enabled; |
+ // If background video track optimization is enabled, don't disable video |
nasko
2017/01/13 16:30:04
nit: Keep the the style of the file and put an emp
whywhat
2017/01/13 21:10:54
Done.
|
+ // track for videos with the average keyframe distance greater than this |
+ // value (in seconds). |
+ int max_keyframe_distance_to_disable_background_video_sec; |
DaleCurtis
2017/01/13 20:34:13
base::TimeDelta?
whywhat
2017/01/13 21:10:54
Hm, I've no idea if the IPC macros will handle any
|
// Whether it is a presentation receiver. |
bool presentation_receiver; |