#include "ui/compositor/test/test_utils.h"
#include "base/cancelable_callback.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/timer/timer.h"
#include "components/viz/common/frame_timing_details.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/compositor/compositor.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rounded_corners_f.h"
#include "ui/gfx/geometry/transform.h"
namespace ui {
void CheckApproximatelyEqual(const gfx::Transform& lhs,
const gfx::Transform& rhs) { … }
void CheckApproximatelyEqual(const gfx::Rect& lhs, const gfx::Rect& rhs) { … }
void CheckApproximatelyEqual(const gfx::RoundedCornersF& lhs,
const gfx::RoundedCornersF& rhs) { … }
bool WaitForNextFrameToBePresented(ui::Compositor* compositor,
std::optional<base::TimeDelta> timeout) { … }
}