Index: ui/events/gesture_detection/snap_scroll_controller.h |
diff --git a/ui/events/gesture_detection/snap_scroll_controller.h b/ui/events/gesture_detection/snap_scroll_controller.h |
index 049bcd7a3610d2b4f50c44dd9dcc63209b3264a9..94f3a0668e36dc4b42104368226923f3011bf5a8 100644 |
--- a/ui/events/gesture_detection/snap_scroll_controller.h |
+++ b/ui/events/gesture_detection/snap_scroll_controller.h |
@@ -7,6 +7,7 @@ |
#include "base/basictypes.h" |
#include "ui/events/gesture_detection/gesture_detection_export.h" |
+#include "ui/events/gesture_event_details.h" |
#include "ui/gfx/geometry/point_f.h" |
#include "ui/gfx/geometry/size_f.h" |
#include "ui/gfx/geometry/vector2d_f.h" |
@@ -31,6 +32,8 @@ class GESTURE_DETECTION_EXPORT SnapScrollController { |
// behavior is reset. |
void UpdateSnapScrollMode(float distance_x, float distance_y); |
+ GestureEventDetails::ScrollRailState ScrollRailState() const; |
+ // TODO(tdresser): remove as part of crbug.com/472223. |
bool IsSnapVertical() const; |
bool IsSnapHorizontal() const; |
bool IsSnappingScrolls() const; |