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

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

Issue 2239313002: Hide non-composited native scrollbars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comment Created 4 years, 4 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 cde74e73054e4a46635ec2958641ebd073de6b44..3b04686678994738905fa2c20155613eb583de6a 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -265,6 +265,11 @@ 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