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

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

Issue 2339873002: Replace hide-scrollbars flag with a web setting. (Closed)
Patch Set: replace viewport test b/c overlay bars are hidden in layout tests. Created 4 years, 3 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/public/common/web_preferences.cc
diff --git a/content/public/common/web_preferences.cc b/content/public/common/web_preferences.cc
index bd532a6e51e7ce59f0f9a28b892d45357ec67ca7..4b1db19b327ed9b25bb96f1652f43d3642912492 100644
--- a/content/public/common/web_preferences.cc
+++ b/content/public/common/web_preferences.cc
@@ -106,6 +106,7 @@ WebPreferences::WebPreferences()
privileged_webgl_extensions_enabled(false),
webgl_errors_to_console_enabled(true),
mock_scrollbars_enabled(false),
+ hide_scrollbars(false),
accelerated_2d_canvas_enabled(false),
minimum_accelerated_2d_canvas_size(257 * 256),
disable_2d_canvas_copy_on_write(false),

Powered by Google App Engine
This is Rietveld 408576698