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

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: Merge branch 'master' of https://chromium.googlesource.com/chromium/src into panscroll 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 ed4581d617669e5ddf0c55917380e823d01e8e31..72f76978e4d4a6cdfd9824cb8cdbdf7e44ff079a 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -210,6 +210,11 @@ void WebRuntimeFeatures::enablePagePopup(bool enable)
RuntimeEnabledFeatures::setPagePopupEnabled(enable);
}
+void WebRuntimeFeatures::enableMiddleClickAutoscroll(bool enable)
+{
+ RuntimeEnabledFeatures::setMiddleClickAutoscrollEnabled(enable);
+}
+
void WebRuntimeFeatures::enableParseHTMLOnMainThread(bool enable)
{
RuntimeEnabledFeatures::setParseHTMLOnMainThreadEnabled(enable);
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698