#include "components/viz/test/overlay_candidate_matchers.h"
#include "base/trace_event/traced_value.h"
#include "components/viz/common/quads/aggregated_render_pass_draw_quad.h"
namespace viz {
void PrintTo(const OverlayCandidate& candidate, std::ostream* os) { … }
namespace test {
bool PlaneZOrderAscendingComparator::operator()(
const OverlayCandidate& a,
const OverlayCandidate& b) const { … }
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) { … }
}
}