#include "third_party/blink/renderer/core/frame/root_frame_viewport.h"
#include "base/task/single_thread_task_runner.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/scroll/scroll_into_view_params.mojom-blink.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/public/platform/scheduler/test/renderer_scheduler_test_support.h"
#include "third_party/blink/renderer/core/frame/visual_viewport.h"
#include "third_party/blink/renderer/core/scroll/scroll_alignment.h"
#include "third_party/blink/renderer/core/scroll/scroll_into_view_util.h"
#include "third_party/blink/renderer/core/scroll/scroll_types.h"
#include "third_party/blink/renderer/core/scroll/scrollable_area.h"
#include "third_party/blink/renderer/core/scroll/scrollbar_theme_overlay_mock.h"
#include "third_party/blink/renderer/core/testing/core_unit_test_helper.h"
#include "third_party/blink/renderer/platform/scheduler/public/thread.h"
#include "third_party/blink/renderer/platform/scheduler/public/thread_scheduler.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "ui/gfx/geometry/point_conversions.h"
#include "ui/gfx/geometry/size_conversions.h"
#include "ui/gfx/geometry/vector2d_conversions.h"
namespace blink {
class ScrollableAreaStub : public GarbageCollected<ScrollableAreaStub>,
public ScrollableArea { … };
class RootLayoutViewportStub : public ScrollableAreaStub { … };
class VisualViewportStub : public ScrollableAreaStub { … };
class RootFrameViewportTest : public testing::Test { … };
TEST_F(RootFrameViewportTest, UserInputScrollable) { … }
TEST_F(RootFrameViewportTest, TestScrollAnimatorUpdatedBeforeScroll) { … }
TEST_F(RootFrameViewportTest, ScrollIntoView) { … }
TEST_F(RootFrameViewportTest, SetScrollOffset) { … }
TEST_F(RootFrameViewportTest, VisibleContentRect) { … }
TEST_F(RootFrameViewportTest, ViewportScrollOrder) { … }
TEST_F(RootFrameViewportTest, SetAlternateLayoutViewport) { … }
TEST_F(RootFrameViewportTest, DistributeScrollOrder) { … }
class RootFrameViewportRenderTest : public RenderingTest { … };
TEST_F(RootFrameViewportRenderTest,
ApplyPendingHistoryRestoreScrollOffsetTwice) { … }
}