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

Unified Diff: third_party/WebKit/Source/core/input/KeyboardEventManager.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/KeyboardEventManager.cpp
diff --git a/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp b/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp
index e5b1abc0ea5fc708f0b649f2ad4964ecd31799f9..68097e6564e09292bc1e920e98b107bfccdbdf19 100644
--- a/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp
+++ b/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp
@@ -89,8 +89,8 @@ WebInputEventResult KeyboardEventManager::keyEvent(
capsLockStateMayHaveChanged();
#if OS(WIN)
bokan 2016/09/07 16:33:46 Should we remove this #if?
- if (m_scrollManager->panScrollInProgress()) {
- // If a key is pressed while the panScroll is in progress then we want to stop
+ if (m_scrollManager->middleClickAutoscrollInProgress()) {
+ // If a key is pressed while the middleClickAutoscroll is in progress then we want to stop
if (initialKeyEvent.type == WebInputEvent::KeyDown || initialKeyEvent.type == WebInputEvent::RawKeyDown)
m_scrollManager->stopAutoscroll();

Powered by Google App Engine
This is Rietveld 408576698