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

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

Issue 2401503002: Align drag threshold across content types. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/input/MouseEventManager.cpp
diff --git a/third_party/WebKit/Source/core/input/MouseEventManager.cpp b/third_party/WebKit/Source/core/input/MouseEventManager.cpp
index c80bf9337aa10a15b5e9e1e0e6cdb904c21b956e..6dc702e031d7433c1fbcdc3be534dcb6da2ca2ac 100644
--- a/third_party/WebKit/Source/core/input/MouseEventManager.cpp
+++ b/third_party/WebKit/Source/core/input/MouseEventManager.cpp
@@ -68,7 +68,7 @@ const double kTextDragDelay = 0.0;
// The link drag hysteresis is much larger than the others because there
// needs to be enough space to cancel the link press without starting a link
// drag, and because dragging links is rare.
Peter Kasting 2016/10/06 09:05:36 This comment should be updated or removed.
pwnall 2016/10/20 01:40:39 Done.
-const int kLinkDragHysteresis = 40;
+const int kLinkDragHysteresis = 5;
Peter Kasting 2016/10/06 09:05:36 Perhaps we should just use the text/image values b
pwnall 2016/10/20 01:40:39 I opted to prepare the path for obeying the platfo
const int kImageDragHysteresis = 5;
const int kTextDragHysteresis = 3;
const int kGeneralDragHysteresis = 3;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698