1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef UI_EVENTS_BLINK_DID_OVERSCROLL_PARAMS_H_
6 #define UI_EVENTS_BLINK_DID_OVERSCROLL_PARAMS_H_
7 
8 #include "cc/input/overscroll_behavior.h"
9 #include "ui/gfx/geometry/point_f.h"
10 #include "ui/gfx/geometry/vector2d_f.h"
11 
12 namespace ui {
13 
14 struct DidOverscrollParams {
15   gfx::Vector2dF accumulated_overscroll;
16   gfx::Vector2dF latest_overscroll_delta;
17   gfx::Vector2dF current_fling_velocity;
18   gfx::PointF causal_event_viewport_point;
19   cc::OverscrollBehavior overscroll_behavior;
20 };
21 
22 }  // namespace ui
23 
24 #endif  // UI_EVENTS_BLINK_DID_OVERSCROLL_PARAMS_H_
25