#include "third_party/blink/renderer/core/scroll/scrollbar_theme_fluent.h"
#include <memory>
#include "base/gtest_prod_util.h"
#include "base/test/scoped_feature_list.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/scroll/scroll_types.h"
#include "third_party/blink/renderer/core/scroll/scrollbar.h"
#include "third_party/blink/renderer/core/scroll/scrollbar_test_suite.h"
#include "third_party/blink/renderer/core/testing/scoped_mock_overlay_scrollbars.h"
#include "third_party/blink/renderer/platform/testing/runtime_enabled_features_test_helpers.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/native_theme/native_theme_features.h"
namespace blink {
Return;
namespace {
constexpr int kScrollbarLength = …;
constexpr int kOffsetFromViewport = …;
}
class ScrollbarThemeFluentMock : public ScrollbarThemeFluent { … };
class ScrollbarThemeFluentTest : public ::testing::TestWithParam<float> { … };
class OverlayScrollbarThemeFluentTest : public ScrollbarThemeFluentTest { … };
TEST_P(ScrollbarThemeFluentTest, ScrollbarThicknessScalesProperly) { … }
TEST_P(ScrollbarThemeFluentTest, VerticalScrollbarPartsSizes) { … }
TEST_P(ScrollbarThemeFluentTest, HorizontalScrollbarPartsSizes) { … }
TEST_P(ScrollbarThemeFluentTest, ScrollbarBackgroundInvalidationTest) { … }
TEST_P(OverlayScrollbarThemeFluentTest, OverlaySetsCorrectTrackAndInsetSize) { … }
TEST_P(OverlayScrollbarThemeFluentTest, ScrollbarThicknessScalesProperly) { … }
TEST_P(OverlayScrollbarThemeFluentTest, TestVerticalInsetTrackRect) { … }
TEST_P(OverlayScrollbarThemeFluentTest, TestHorizontalInsetTrackRect) { … }
TEST_P(OverlayScrollbarThemeFluentTest, TestVerticalInsetButtonRect) { … }
TEST_P(OverlayScrollbarThemeFluentTest, TestHorizontalInsetButtonRect) { … }
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
}