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

Unified Diff: content/common/input/did_overscroll_params.h

Issue 136173004: Early terminate flings when scrolling impossible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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
« no previous file with comments | « content/child/touch_fling_gesture_curve_unittest.cc ('k') | content/content_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/input/did_overscroll_params.h
diff --git a/content/common/input/did_overscroll_params.h b/content/common/input/did_overscroll_params.h
new file mode 100644
index 0000000000000000000000000000000000000000..4f6a7f1f22694e0ea586c9c719fe0149a2f7f2e4
--- /dev/null
+++ b/content/common/input/did_overscroll_params.h
@@ -0,0 +1,20 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_COMMON_INPUT_DID_OVERSCROLL_PARAMS_H_
+#define CONTENT_COMMON_INPUT_DID_OVERSCROLL_PARAMS_H_
+
+#include "ui/gfx/geometry/vector2d_f.h"
+
+namespace content {
+
+struct DidOverscrollParams {
+ gfx::Vector2dF accumulated_overscroll;
+ gfx::Vector2dF latest_overscroll_delta;
+ gfx::Vector2dF current_fling_velocity;
+};
+
+} // namespace content
+
+#endif // CONTENT_COMMON_INPUT_DID_OVERSCROLL_PARAMS_H_
« no previous file with comments | « content/child/touch_fling_gesture_curve_unittest.cc ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698