| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_COMMON_INPUT_DID_OVERSCROLL_PARAMS_H_ | 5 #ifndef CONTENT_COMMON_INPUT_DID_OVERSCROLL_PARAMS_H_ |
| 6 #define CONTENT_COMMON_INPUT_DID_OVERSCROLL_PARAMS_H_ | 6 #define CONTENT_COMMON_INPUT_DID_OVERSCROLL_PARAMS_H_ |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "ui/gfx/geometry/point_f.h" | 9 #include "ui/gfx/geometry/point_f.h" |
| 10 #include "ui/gfx/geometry/vector2d_f.h" | 10 #include "ui/gfx/geometry/vector2d_f.h" |
| 11 | 11 |
| 12 namespace content { | 12 namespace content { |
| 13 | 13 |
| 14 struct CONTENT_EXPORT DidOverscrollParams { | 14 struct CONTENT_EXPORT DidOverscrollParams { |
| 15 DidOverscrollParams(); | 15 DidOverscrollParams(); |
| 16 ~DidOverscrollParams(); | 16 ~DidOverscrollParams(); |
| 17 gfx::Vector2dF accumulated_overscroll; | 17 gfx::Vector2dF accumulated_overscroll; |
| 18 gfx::Vector2dF latest_overscroll_delta; | 18 gfx::Vector2dF latest_overscroll_delta; |
| 19 gfx::Vector2dF current_fling_velocity; | 19 gfx::Vector2dF current_fling_velocity; |
| 20 gfx::PointF causal_event_viewport_point; | 20 gfx::Point causal_event_viewport_point; |
| 21 }; | 21 }; |
| 22 | 22 |
| 23 } // namespace content | 23 } // namespace content |
| 24 | 24 |
| 25 #endif // CONTENT_COMMON_INPUT_DID_OVERSCROLL_PARAMS_H_ | 25 #endif // CONTENT_COMMON_INPUT_DID_OVERSCROLL_PARAMS_H_ |
| OLD | NEW |