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

Unified Diff: ui/events/gestures/blink/web_gesture_curve_impl.h

Issue 2767213003: First Implementation of Snapped Points
Patch Set: Rebase and format Created 3 years, 6 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/gesture_curve.h ('k') | ui/events/gestures/blink/web_gesture_curve_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gestures/blink/web_gesture_curve_impl.h
diff --git a/ui/events/gestures/blink/web_gesture_curve_impl.h b/ui/events/gestures/blink/web_gesture_curve_impl.h
index 076f0169d53b923ed0cc4e1c1e83b1cfe1e0276e..8cf28e158008d62f39964e9090ee130a22c27ee0 100644
--- a/ui/events/gestures/blink/web_gesture_curve_impl.h
+++ b/ui/events/gestures/blink/web_gesture_curve_impl.h
@@ -38,6 +38,10 @@ class WebGestureCurveImpl : public NON_EXPORTED_BASE(blink::WebGestureCurve) {
// WebGestureCurve implementation.
bool Apply(double time, blink::WebGestureCurveTarget* target) override;
+ void ComputeTotalScrollOffset(gfx::Vector2dF& offset) override;
+
+ bool ResetCurveBySnappedOffset(const gfx::Vector2dF& offset) override;
+
private:
enum class ThreadType {
MAIN,
« no previous file with comments | « ui/events/gesture_curve.h ('k') | ui/events/gestures/blink/web_gesture_curve_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698