did_overscroll_params.h revision e5d81f57cb97b3b6b7fccc9c5610d21eb81db09d
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 8e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch#include "ui/gfx/geometry/vector2d_f.h" 9e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch 10e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdochnamespace content { 11e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch 12e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdochstruct DidOverscrollParams { 13e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch gfx::Vector2dF accumulated_overscroll; 14e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch gfx::Vector2dF latest_overscroll_delta; 15e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch gfx::Vector2dF current_fling_velocity; 16e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch}; 17e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch 18e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch} // namespace content 19e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch 20e5d81f57cb97b3b6b7fccc9c5610d21eb81db09dBen Murdoch#endif // CONTENT_COMMON_INPUT_DID_OVERSCROLL_PARAMS_H_ 21