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

Unified Diff: third_party/WebKit/Source/core/input/ScrollManager.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: Rename the files. 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/core/input/ScrollManager.cpp
diff --git a/third_party/WebKit/Source/core/input/ScrollManager.cpp b/third_party/WebKit/Source/core/input/ScrollManager.cpp
index 33e6f466a55117bd01b7eccd00d9d9514b221e3b..bb351f0ac1184d1e1fd864190b59a232bdc57112 100644
--- a/third_party/WebKit/Source/core/input/ScrollManager.cpp
+++ b/third_party/WebKit/Source/core/input/ScrollManager.cpp
@@ -65,9 +65,9 @@ void ScrollManager::stopAutoscroll()
controller->stopAutoscroll();
}
-bool ScrollManager::panScrollInProgress() const
+bool ScrollManager::middleClickAutoscrollInProgress() const
{
- return autoscrollController() && autoscrollController()->panScrollInProgress();
+ return autoscrollController() && autoscrollController()->middleClickAutoscrollInProgress();
}
AutoscrollController* ScrollManager::autoscrollController() const

Powered by Google App Engine
This is Rietveld 408576698