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

Unified Diff: third_party/WebKit/Source/web/WebSettingsImpl.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/WebSettingsImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebSettingsImpl.cpp b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
index 3bbd5ee9961dd7d178280065ce63b7d5b3165b95..b1368f5fcc1d1371b83bbddfc6d4badd9e7e71b1 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
@@ -532,6 +532,11 @@ void WebSettingsImpl::setMockScrollbarsEnabled(bool enabled)
m_settings->setMockScrollbarsEnabled(enabled);
}
+void WebSettingsImpl::setHideScrollbars(bool enabled)
+{
+ m_settings->setHideScrollbars(enabled);
+}
+
void WebSettingsImpl::setMockGestureTapHighlightsEnabled(bool enabled)
{
m_settings->setMockGestureTapHighlightsEnabled(enabled);

Powered by Google App Engine
This is Rietveld 408576698