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

Unified Diff: ui/events/x/events_x.cc

Issue 2193153002: MacViews: Send Mac scrollWheel NSEvents as ui::ET_SCROLL (ui::ScrollEvent). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20160728-MacViews-ScrollLayers
Patch Set: NSDictionary subscripting 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
« no previous file with comments | « ui/events/win/events_win.cc ('k') | ui/views/cocoa/bridged_content_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/x/events_x.cc
diff --git a/ui/events/x/events_x.cc b/ui/events/x/events_x.cc
index 1e84640d76dbd1b0104cb35ea391a43445442adf..5473615767a1532eb84d3c5591e9e365ae853b6c 100644
--- a/ui/events/x/events_x.cc
+++ b/ui/events/x/events_x.cc
@@ -168,7 +168,8 @@ bool GetScrollOffsets(const base::NativeEvent& native_event,
float* y_offset,
float* x_offset_ordinal,
float* y_offset_ordinal,
- int* finger_count) {
+ int* finger_count,
+ EventMomentumPhase* momentum_phase) {
return GetScrollOffsetsFromXEvent(*native_event, x_offset, y_offset,
x_offset_ordinal, y_offset_ordinal,
finger_count);
« no previous file with comments | « ui/events/win/events_win.cc ('k') | ui/views/cocoa/bridged_content_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698