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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.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/layout/LayoutBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
index 62c38203fe8a1a0d5ceba1f1118acb965e115bc6..476f4341a4263044aff60b646fb2f13c90e3f5a3 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
@@ -965,7 +965,7 @@ static inline IntSize adjustedScrollDelta(const IntSize& delta)
return IntSize(adjustedScrollDelta(delta.width()), adjustedScrollDelta(delta.height()));
}
-void LayoutBox::panScroll(const IntPoint& sourcePoint)
+void LayoutBox::middleClickAutoscroll(const IntPoint& sourcePoint)
{
LocalFrame* frame = this->frame();
if (!frame)

Powered by Google App Engine
This is Rietveld 408576698