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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 1860743002: Add a flag to change when android's progress bar completes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unneeded variables on ProgressTracker Created 4 years, 6 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/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 1d2af2624cc536e81f6360317fc046b32ec0db65..ff4f3120694284478deee5697d9b5ab2d2a53b80 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -482,6 +482,8 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs() {
(autoplay_group_name.empty() || autoplay_group_name != "Enabled");
prefs.autoplay_muted_videos_enabled = command_line.HasSwitch(
switches::kEnableAutoplayMutedVideos);
+
+ prefs.progress_bar_completion = GetProgressBarCompletionPolicy();
#endif
// Handle autoplay gesture override experiment.

Powered by Google App Engine
This is Rietveld 408576698