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

Unified Diff: third_party/WebKit/Source/web/WebSettingsImpl.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/WebSettingsImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebSettingsImpl.cpp b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
index 37a6bc2f6171e12d2a0a29f79fa32258fecee1c1..0fe4a5ccce314a649f78b26a9dc5423d2935e98b 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
@@ -537,6 +537,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);
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/Source/web/tests/VisualViewportTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698