#include <tuple>
#include "base/feature_list.h"
#include "build/build_config.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/public/common/content_switches.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/shell/browser/shell.h"
#include "third_party/blink/public/common/input/synthetic_web_input_event_builders.h"
#include "ui/events/base_event_utils.h"
namespace {
const std::string kAutoscrollDataURL = …;
}
namespace content {
class GestureScrollEventWatcher : public RenderWidgetHost::InputEventObserver { … };
class AutoscrollBrowserTest : public ContentBrowserTest { … };
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS)
IN_PROC_BROWSER_TEST_F(AutoscrollBrowserTest, AutoscrollFling) { … }
IN_PROC_BROWSER_TEST_F(AutoscrollBrowserTest, AutoscrollFlingGSBDeltaHints) { … }
IN_PROC_BROWSER_TEST_F(AutoscrollBrowserTest, GSUGSEValidPositionInWidget) { … }
IN_PROC_BROWSER_TEST_F(AutoscrollBrowserTest,
WheelScrollingWorksAfterAutoscrollCancel) { … }
IN_PROC_BROWSER_TEST_F(AutoscrollBrowserTest,
WheelScrollingDoesNotWorkInAutoscrollMode) { … }
IN_PROC_BROWSER_TEST_F(AutoscrollBrowserTest,
AutoscrollDirectionChangeAfterFullyScrolled) { … }
#endif
}