#include "ui/ozone/common/bitmap_cursor.h"
#include "base/check.h"
#include "base/check_op.h"
#include "base/memory/scoped_refptr.h"
#include "base/ranges/algorithm.h"
namespace ui {
scoped_refptr<BitmapCursor> BitmapCursor::FromPlatformCursor(
scoped_refptr<PlatformCursor> platform_cursor) { … }
BitmapCursor::BitmapCursor(mojom::CursorType type) : … { … }
BitmapCursor::BitmapCursor(mojom::CursorType type,
const SkBitmap& bitmap,
const gfx::Point& hotspot,
float cursor_image_scale_factor)
: … { … }
BitmapCursor::BitmapCursor(mojom::CursorType type,
const std::vector<SkBitmap>& bitmaps,
const gfx::Point& hotspot,
base::TimeDelta frame_delay,
float cursor_image_scale_factor)
: … { … }
BitmapCursor::BitmapCursor(mojom::CursorType type,
void* platform_data,
float cursor_image_scale_factor)
: … { … }
BitmapCursor::~BitmapCursor() = default;
const gfx::Point& BitmapCursor::hotspot() { … }
const SkBitmap& BitmapCursor::bitmap() { … }
const std::vector<SkBitmap>& BitmapCursor::bitmaps() { … }
base::TimeDelta BitmapCursor::frame_delay() { … }
}