This source file includes following definitions.
- GetInstance
- SetInstance
- GetDefaultCursor
- CreateImageCursor
- RefImageCursor
- UnrefImageCursor
- SetCursor
#include "ui/base/cursor/ozone/cursor_factory_ozone.h"
#include "base/logging.h"
namespace ui {
CursorFactoryOzone* CursorFactoryOzone::impl_ = NULL;
CursorFactoryOzone::CursorFactoryOzone() {}
CursorFactoryOzone::~CursorFactoryOzone() {}
CursorFactoryOzone* CursorFactoryOzone::GetInstance() {
CHECK(impl_) << "No CursorFactoryOzone implementation set.";
return impl_;
}
void CursorFactoryOzone::SetInstance(CursorFactoryOzone* impl) { impl_ = impl; }
PlatformCursor CursorFactoryOzone::GetDefaultCursor(int type) {
NOTIMPLEMENTED();
return NULL;
}
PlatformCursor CursorFactoryOzone::CreateImageCursor(
const SkBitmap& bitmap,
const gfx::Point& hotspot) {
NOTIMPLEMENTED();
return NULL;
}
void CursorFactoryOzone::RefImageCursor(PlatformCursor cursor) {
NOTIMPLEMENTED();
}
void CursorFactoryOzone::UnrefImageCursor(PlatformCursor cursor) {
NOTIMPLEMENTED();
}
void CursorFactoryOzone::SetCursor(gfx::AcceleratedWidget widget,
PlatformCursor cursor) {
NOTIMPLEMENTED();
}
}