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

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

Issue 2421913002: Change Aura overlay scrollbars from solid color to painted scrollbars. (Closed)
Patch Set: Rebase Created 4 years, 2 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 | « cc/trees/layer_tree_settings.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 39eb7da57407540f6ef54a4578f2b3a14f7a0dac..0afaa9b99014b559a74ed6bc41213f76cf37b4e4 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -464,7 +464,7 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs() {
prefs.inert_visual_viewport =
command_line.HasSwitch(switches::kInertVisualViewport);
- prefs.use_solid_color_scrollbars = ui::IsOverlayScrollbarEnabled();
+ prefs.use_solid_color_scrollbars = false;
prefs.history_entry_requires_user_gesture =
command_line.HasSwitch(switches::kHistoryEntryRequiresUserGesture);
@@ -482,6 +482,8 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs() {
base::FeatureList::IsEnabled(features::kAutoplayMutedVideos);
prefs.progress_bar_completion = GetProgressBarCompletionPolicy();
+
+ prefs.use_solid_color_scrollbars = true;
#endif
// Handle autoplay gesture override experiment.
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698