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

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

Issue 2289213002: Implement Middle Click Autoscroll on all platforms not just Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update a test 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 80f5599061f8dbfe675d5115bb7609ef0a941360..d23570b0adebbcbc88130d3257536f8cbb11047f 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -205,6 +205,11 @@ void WebRuntimeFeatures::enablePagePopup(bool enable)
RuntimeEnabledFeatures::setPagePopupEnabled(enable);
}
+void WebRuntimeFeatures::enablePanScrolling(bool enable)
+{
+ RuntimeEnabledFeatures::setPanScrollingEnabled(enable);
+}
+
void WebRuntimeFeatures::enableParseHTMLOnMainThread(bool enable)
{
RuntimeEnabledFeatures::setParseHTMLOnMainThreadEnabled(enable);

Powered by Google App Engine
This is Rietveld 408576698