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

Unified Diff: ui/base/events/event_utils.h

Issue 12208118: Add support for ordinal scroll amounts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix interactive_ui_tests failure Created 7 years, 10 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/base/events/event.cc ('k') | ui/base/win/events_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/events/event_utils.h
diff --git a/ui/base/events/event_utils.h b/ui/base/events/event_utils.h
index 49a6b090b208ff45aa9776403ba58b8d855d9cfe..05ce2cd1135e701fd3c7af2f2518cd54c3f3fd76 100644
--- a/ui/base/events/event_utils.h
+++ b/ui/base/events/event_utils.h
@@ -93,6 +93,8 @@ UI_EXPORT float GetTouchForce(const base::NativeEvent& native_event);
UI_EXPORT bool GetFlingData(const base::NativeEvent& native_event,
float* vx,
float* vy,
+ float* vx_ordinal,
+ float* vy_ordinal,
bool* is_cancel);
// Returns whether this is a scroll event and optionally gets the amount to be
@@ -100,6 +102,8 @@ UI_EXPORT bool GetFlingData(const base::NativeEvent& native_event,
UI_EXPORT bool GetScrollOffsets(const base::NativeEvent& native_event,
float* x_offset,
float* y_offset,
+ float* x_offset_ordinal,
+ float* y_offset_ordinal,
int* finger_count);
UI_EXPORT bool GetGestureTimes(const base::NativeEvent& native_event,
« no previous file with comments | « ui/base/events/event.cc ('k') | ui/base/win/events_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698