#include "third_party/blink/renderer/platform/widget/input/elastic_overscroll_controller_exponential.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "cc/input/input_handler.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/input/web_input_event.h"
#include "third_party/blink/public/common/input/web_mouse_wheel_event.h"
namespace blink {
Size;
Vector2dF;
namespace {
enum Phase { … };
enum InertialPhaseState { … };
class MockScrollElasticityHelper : public cc::ScrollElasticityHelper { … };
class ElasticOverscrollControllerExponentialTest : public testing::Test { … };
TEST_F(ElasticOverscrollControllerExponentialTest, Axis) { … }
TEST_F(ElasticOverscrollControllerExponentialTest, MinimumDeltaBeforeStretch) { … }
TEST_F(ElasticOverscrollControllerExponentialTest, MomentumAnimate) { … }
TEST_F(ElasticOverscrollControllerExponentialTest, ReconcileStretchAndScroll) { … }
TEST_F(ElasticOverscrollControllerExponentialTest,
UserScrollableRequiredForStretch) { … }
TEST_F(ElasticOverscrollControllerExponentialTest, UserScrollableSingleAxis) { … }
TEST_F(ElasticOverscrollControllerExponentialTest, OverscrollBehavior) { … }
TEST_F(ElasticOverscrollControllerExponentialTest,
OverscrollBehaviorNonScrollable) { … }
}
}