chromium/components/viz/test/overlay_candidate_matchers.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}

}  // namespace test

}  // namespace viz