#include "ui/events/blink/fling_booster.h"
#include <memory>
#include "base/test/simple_test_tick_clock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/base_event_utils.h"
#include "ui/events/event_modifiers.h"
WebGestureDevice;
WebGestureEvent;
WebInputEvent;
Vector2dF;
namespace ui {
namespace test {
static constexpr base::TimeDelta kEventDelta = …;
static constexpr double kMinBoostScrollSpeed = …;
static constexpr double kMinBoostFlingSpeed = …;
static constexpr base::TimeDelta kFlingBoostTimeoutDelay = …;
class FlingBoosterTest : public testing::Test { … };
TEST_F(FlingBoosterTest, FlingBoostBasic) { … }
TEST_F(FlingBoosterTest, FlingBoostProgressedFling) { … }
TEST_F(FlingBoosterTest, NoFlingBoostIfScrollDelayed) { … }
TEST_F(FlingBoosterTest, NoFlingBoostIfBoostTooSlow) { … }
TEST_F(FlingBoosterTest, NoFlingBoostIfPreviousStartVelocityTooSlow) { … }
TEST_F(FlingBoosterTest, NoFlingBoostIfCurrentVelocityTooSlow) { … }
TEST_F(FlingBoosterTest, NoFlingBoostIfFlingInDifferentDirection) { … }
TEST_F(FlingBoosterTest, NoFlingBoostIfScrollInDifferentDirection) { … }
TEST_F(FlingBoosterTest, NoFlingBoostIfPreventBoostingFlagIsSet) { … }
TEST_F(FlingBoosterTest, NoFlingBoostIfDifferentFlingModifiers) { … }
TEST_F(FlingBoosterTest, NoFlingBoostIfDifferentFlingSourceDevices) { … }
TEST_F(FlingBoosterTest, NoFlingBoostIfScrollBeginPastCutoffTime) { … }
}
}