// 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. #ifndef UI_GFX_TEST_SK_GMOCK_SUPPORT_H_ #define UI_GFX_TEST_SK_GMOCK_SUPPORT_H_ #include "testing/gmock/include/gmock/gmock.h" #include "third_party/skia/include/core/SkColor.h" #include "ui/gfx/color_utils.h" #include "ui/gfx/geometry/rect.h" #include "ui/gfx/test/sk_color_eq.h" namespace gfx::test { MATCHER_P2(IsCloseToBitmap, expected_bmp, max_per_channel_deviation, "") { … } MATCHER_P(EqualsBitmap, expected_bmp, "") { … } } // namespace gfx::test #endif // UI_GFX_TEST_SK_GMOCK_SUPPORT_H_