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

Unified Diff: ui/events/cocoa/cocoa_event_utils.h

Issue 2234143003: Revert of Mac: Share kScrollbarPixelsPerCocoaTick between ui:: and blink:: events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: ui/events/cocoa/cocoa_event_utils.h
diff --git a/ui/events/cocoa/cocoa_event_utils.h b/ui/events/cocoa/cocoa_event_utils.h
index 71ddab95e788483290d3b7128bacad60d190cf2a..a5984357537b46e66eadcaeecb56136b30471cd8 100644
--- a/ui/events/cocoa/cocoa_event_utils.h
+++ b/ui/events/cocoa/cocoa_event_utils.h
@@ -10,9 +10,6 @@
#include "ui/events/events_export.h"
namespace ui {
-
-// Conversion between wheel delta amounts and number of pixels to scroll.
-constexpr double kScrollbarPixelsPerCocoaTick = 40.0;
// Converts the Cocoa |modifiers| bitsum into a ui::EventFlags bitsum.
EVENTS_EXPORT int EventFlagsFromModifiers(NSUInteger modifiers);
« no previous file with comments | « content/browser/renderer_host/input/web_input_event_builders_mac_unittest.mm ('k') | ui/events/cocoa/events_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698