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

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: 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/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 9415ef571b443a5f7e4a46204d07b72f6f8c4b8e..a10cea7fb3b7ce8bcd106cfe332ba7f95b36513a 100644
--- a/third_party/WebKit/Source/core/input/ScrollManager.cpp
+++ b/third_party/WebKit/Source/core/input/ScrollManager.cpp
@@ -64,9 +64,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
« no previous file with comments | « third_party/WebKit/Source/core/input/ScrollManager.h ('k') | third_party/WebKit/Source/core/layout/LayoutBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698