root/ui/base/cursor/ozone/cursor_factory_ozone.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. GetInstance
  2. SetInstance
  3. GetDefaultCursor
  4. CreateImageCursor
  5. RefImageCursor
  6. UnrefImageCursor
  7. SetCursor

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

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

#include "base/logging.h"

namespace ui {

// static
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();
}

}  // namespace ui

/* [<][>][^][v][top][bottom][index][help] */