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

Unified Diff: ui/events/gesture_detection/snap_scroll_controller.h

Issue 1049383003: Postpone rail application for touch scrolling - chrome side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/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;

Powered by Google App Engine
This is Rietveld 408576698