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

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

Issue 2742473002: gpu benchmarking swipe for touchpad
Patch Set: Update direction in tests that use swipeElement/Page to maintain the same behavior. Created 3 years, 8 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: content/common/input/synthetic_smooth_scroll_gesture_params.h
diff --git a/content/common/input/synthetic_smooth_scroll_gesture_params.h b/content/common/input/synthetic_smooth_scroll_gesture_params.h
index d9e8591fcce9472ee66492c5bc90211bca6969bb..458c0904b73450187a2a2b1f3138f38dfcbbbc4b 100644
--- a/content/common/input/synthetic_smooth_scroll_gesture_params.h
+++ b/content/common/input/synthetic_smooth_scroll_gesture_params.h
@@ -26,6 +26,7 @@ struct CONTENT_EXPORT SyntheticSmoothScrollGestureParams
gfx::PointF anchor;
std::vector<gfx::Vector2dF> distances; // Positive X/Y to scroll left/up.
+ gfx::Vector2dF velocity;
bool prevent_fling; // Defaults to true.
float speed_in_pixels_s;
« no previous file with comments | « content/common/input/input_param_traits_unittest.cc ('k') | content/common/input/synthetic_smooth_scroll_gesture_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698