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

Unified Diff: third_party/WebKit/Source/core/input/KeyboardEventManager.cpp

Issue 2918053002: Move middle-click autoscroll to synthetic fling. (Closed)
Patch Set: Delete redundant cursor shape print Created 3 years, 6 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 72639a80a099dc373b00f3368648df081b69144b..f718f62007d0ceea44bd78e1cf4d1c0bedf318a4 100644
--- a/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp
+++ b/third_party/WebKit/Source/core/input/KeyboardEventManager.cpp
@@ -177,7 +177,7 @@ WebInputEventResult KeyboardEventManager::KeyEvent(
// we want to stop.
if (initial_key_event.GetType() == WebInputEvent::kKeyDown ||
initial_key_event.GetType() == WebInputEvent::kRawKeyDown)
- scroll_manager_->StopAutoscroll();
+ scroll_manager_->StopMiddleClickAutoscroll();
// If we were in panscroll mode, we swallow the key event
return WebInputEventResult::kHandledSuppressed;
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | third_party/WebKit/Source/core/input/MouseEventManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698