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

Unified Diff: content/renderer/render_view_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: Fix a bad merge 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/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index b658ee00ca049e8d7be3a38956316a598da2d3de..68bb96e2ce159057d7116dff08684b1c247263f4 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1087,6 +1087,9 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
prefs.report_screen_size_in_physical_pixels_quirk);
settings->setShouldReuseGlobalForUnownedMainFrame(
prefs.resue_global_for_unowned_main_frame);
+ settings->setProgressBarCompletion(
+ static_cast<WebSettings::ProgressBarCompletion>(
+ prefs.progress_bar_completion));
settings->setPreferHiddenVolumeControls(true);
settings->setShrinksViewportContentToFit(true);
WebRuntimeFeatures::enableAutoplayMutedVideos(

Powered by Google App Engine
This is Rietveld 408576698