1e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch// Copyright 2014 The Chromium Authors. All rights reserved.
2e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch// Use of this source code is governed by a BSD-style license that can be
3e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch// found in the LICENSE file.
4e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch
5e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch#ifndef CONTENT_COMMON_INPUT_DID_OVERSCROLL_PARAMS_H_
6e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch#define CONTENT_COMMON_INPUT_DID_OVERSCROLL_PARAMS_H_
7e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch
803b57e008b61dfcb1fbad3aea950ae0e001748b0Torne (Richard Coles)#include "content/common/content_export.h"
903b57e008b61dfcb1fbad3aea950ae0e001748b0Torne (Richard Coles)#include "ui/gfx/geometry/point_f.h"
10e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch#include "ui/gfx/geometry/vector2d_f.h"
11e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch
12e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdochnamespace content {
13e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch
1403b57e008b61dfcb1fbad3aea950ae0e001748b0Torne (Richard Coles)struct CONTENT_EXPORT DidOverscrollParams {
1503b57e008b61dfcb1fbad3aea950ae0e001748b0Torne (Richard Coles)  DidOverscrollParams();
1603b57e008b61dfcb1fbad3aea950ae0e001748b0Torne (Richard Coles)  ~DidOverscrollParams();
17e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch  gfx::Vector2dF accumulated_overscroll;
18e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch  gfx::Vector2dF latest_overscroll_delta;
19e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch  gfx::Vector2dF current_fling_velocity;
2003b57e008b61dfcb1fbad3aea950ae0e001748b0Torne (Richard Coles)  gfx::PointF causal_event_viewport_point;
21e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch};
22e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch
23e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch}  // namespace content
24e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch
25e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch#endif  // CONTENT_COMMON_INPUT_DID_OVERSCROLL_PARAMS_H_
26