chromium/ui/base/cursor/cursor.cc

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

#include "ui/base/cursor/cursor.h"

#include <algorithm>
#include <utility>

#include "base/check_op.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/skia_util.h"

namespace ui {

CursorType;

CursorData::CursorData() :{}

CursorData::CursorData(std::vector<SkBitmap> bitmaps,
                       gfx::Point hotspot,
                       float scale_factor)
    :{}

CursorData::CursorData(const CursorData& cursor_data) = default;

CursorData::~CursorData() = default;

// static
Cursor Cursor::NewCustom(SkBitmap bitmap,
                         gfx::Point hotspot,
                         float image_scale_factor) {}

Cursor::Cursor() = default;

Cursor::Cursor(CursorType type) :{}

Cursor::Cursor(SkBitmap bitmap, gfx::Point hotspot, float image_scale_factor)
    :{}

Cursor::Cursor(const Cursor& cursor) = default;

Cursor::~Cursor() = default;

void Cursor::SetPlatformCursor(scoped_refptr<PlatformCursor> platform_cursor) {}

const SkBitmap& Cursor::custom_bitmap() const {}

const gfx::Point& Cursor::custom_hotspot() const {}

float Cursor::image_scale_factor() const {}

bool Cursor::operator==(const Cursor& cursor) const {}

// static
bool Cursor::AreDimensionsValidForWeb(const gfx::Size& size,
                                      float scale_factor) {}

}  // namespace ui