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

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

Issue 2339873002: Replace hide-scrollbars flag with a web setting. (Closed)
Patch Set: check for presence of settings using DCHECK + sync. 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 1067af00ffb33a0addc06a4909d8f527a1bf5e8e..2c4f2faa827ad28e95cbf346990b41eeb42943dd 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);
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayMock.h ('k') | third_party/WebKit/Source/web/WebSettingsImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698