#include "cc/layers/painted_scrollbar_layer_impl.h"
#include <stddef.h>
#include "cc/resources/ui_resource_bitmap.h"
#include "cc/test/layer_tree_impl_test_base.h"
#include "components/viz/common/quads/draw_quad.h"
#include "components/viz/common/quads/solid_color_draw_quad.h"
#include "components/viz/common/quads/texture_draw_quad.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace cc {
namespace {
TEST(PaintedScrollbarLayerImplTest, Occlusion) { … }
TEST(PaintedScrollbarLayerImplTest, Occlusion_SolidColorThumbNinePatchTrack) { … }
TEST(PaintedScrollbarLayerImplTest, PaintedOpacityChangesInvalidate) { … }
class PaintedScrollbarLayerImplSolidColorThumbTest : public ::testing::Test { … };
TEST_F(PaintedScrollbarLayerImplSolidColorThumbTest, ComputeThumbQuadRect) { … }
TEST_F(PaintedScrollbarLayerImplSolidColorThumbTest,
ComputeHitTestableThumbQuadRect) { … }
class PaintedScrollbarLayerImplFluentOverlayTest
: public PaintedScrollbarLayerImplSolidColorThumbTest { … };
TEST_F(PaintedScrollbarLayerImplFluentOverlayTest,
OverlayFluentThumbHasNoMargin) { … }
TEST_F(PaintedScrollbarLayerImplFluentOverlayTest,
NoThumbColorDoesntAppendQuads) { … }
}
}