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

Unified Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2339873002: Replace hide-scrollbars flag with a web setting. (Closed)
Patch Set: Add missing plumbing of hide_scrollbars preference. 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: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index 72f76978e4d4a6cdfd9824cb8cdbdf7e44ff079a..c12ab5d18f7c1fa00f31bbc259465aa5ad531175 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -290,11 +290,6 @@ void WebRuntimeFeatures::enableOverlayScrollbars(bool enable)
RuntimeEnabledFeatures::setOverlayScrollbarsEnabled(enable);
}
-void WebRuntimeFeatures::enableHideScrollbars(bool enable)
-{
- RuntimeEnabledFeatures::setHideScrollbarsEnabled(enable);
-}
-
void WebRuntimeFeatures::forceOverlayFullscreenVideo(bool enable)
{
RuntimeEnabledFeatures::setForceOverlayFullscreenVideoEnabled(enable);

Powered by Google App Engine
This is Rietveld 408576698