#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "ui/wm/core/cursor_util.h"
#include <optional>
#include "base/numerics/safe_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/base/cursor/cursor.h"
#include "ui/base/cursor/cursor_size.h"
#include "ui/base/cursor/mojom/cursor_type.mojom-shared.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/resource/resource_scale_factor.h"
#include "ui/display/display.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/geometry/skia_conversions.h"
namespace wm {
namespace {
CursorType;
class CursorUtilTest : public testing::TestWithParam<bool> { … };
TEST_P(CursorUtilTest, ScaleAndRotate) { … }
INSTANTIATE_TEST_SUITE_P(…);
TEST(CursorUtil, GetCursorData) { … }
}
}