#ifndef COMPONENTS_VIZ_TEST_OVERLAY_CANDIDATE_MATCHERS_H_
#define COMPONENTS_VIZ_TEST_OVERLAY_CANDIDATE_MATCHERS_H_
#include "components/viz/common/quads/aggregated_render_pass.h"
#include "components/viz/common/resources/resource_id.h"
#include "components/viz/service/display/overlay_candidate.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "third_party/skia/include/core/SkColor.h"
namespace viz {
void PrintTo(const OverlayCandidate& candidate, std::ostream* os);
namespace test {
struct PlaneZOrderAscendingComparator { … };
testing::Matcher<const OverlayCandidate&> IsRenderPassOverlay(
AggregatedRenderPassId id);
testing::Matcher<const OverlayCandidate&> IsSolidColorOverlay(SkColor4f color);
testing::Matcher<const OverlayCandidate&> OverlayHasResource(
ResourceId resource_id);
testing::Matcher<const OverlayCandidate&> OverlayHasClip(
std::optional<gfx::Rect> clip_rect);
testing::Matcher<const OverlayCandidate&> OverlayHasRoundedCorners(
gfx::RRectF rounded_corners);
}
}
#endif