#include "third_party/blink/renderer/core/paint/view_painter.h"
#include <gtest/gtest.h>
#include "cc/test/paint_op_matchers.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/paint/paint_controller_paint_test.h"
#include "third_party/blink/renderer/platform/graphics/paint/drawing_display_item.h"
#include "third_party/blink/renderer/platform/testing/paint_property_test_helpers.h"
#include "ui/gfx/geometry/skia_conversions.h"
namespace blink {
namespace {
PaintOpIs;
_;
AllOf;
ElementsAre;
ResultOf;
class ViewPainterFixedBackgroundTest : public PaintControllerPaintTest { … };
INSTANTIATE_PAINT_TEST_SUITE_P(…);
void ViewPainterFixedBackgroundTest::RunFixedBackgroundTest(
bool prefer_compositing_to_lcd_text) { … }
TEST_P(ViewPainterFixedBackgroundTest,
DocumentFixedBackgroundNotPreferCompositing) { … }
TEST_P(ViewPainterFixedBackgroundTest,
DocumentFixedBackgroundPreferCompositing) { … }
ViewPainterTest;
INSTANTIATE_PAINT_TEST_SUITE_P(…);
TEST_P(ViewPainterTest, DocumentBackgroundWithScroll) { … }
TEST_P(ViewPainterTest, FrameScrollHitTestProperties) { … }
TEST_P(ViewPainterTest, TouchActionRect) { … }
}
}