Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: ui/base/cursor/ozone/cursor_factory_ozone.cc

Issue 312393002: ozone: Move the factory interfaces into a common target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-r278697 Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/cursor/ozone/cursor_factory_ozone.h ('k') | ui/base/ui_base.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cursor/ozone/cursor_factory_ozone.cc
diff --git a/ui/base/cursor/ozone/cursor_factory_ozone.cc b/ui/base/cursor/ozone/cursor_factory_ozone.cc
deleted file mode 100644
index 51fd7f82b9801278f1c9d310675c05eb5bdda01a..0000000000000000000000000000000000000000
--- a/ui/base/cursor/ozone/cursor_factory_ozone.cc
+++ /dev/null
@@ -1,59 +0,0 @@
-// 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() {
- CHECK(!impl_) << "There should only be a single CursorFactoryOzone.";
- impl_ = this;
-}
-
-CursorFactoryOzone::~CursorFactoryOzone() {
- CHECK_EQ(impl_, this);
- impl_ = NULL;
-}
-
-CursorFactoryOzone* CursorFactoryOzone::GetInstance() {
- CHECK(impl_) << "No CursorFactoryOzone implementation set.";
- return 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();
-}
-
-gfx::AcceleratedWidget CursorFactoryOzone::GetCursorWindow() {
- NOTIMPLEMENTED();
- return 0;
-}
-
-} // namespace ui
« no previous file with comments | « ui/base/cursor/ozone/cursor_factory_ozone.h ('k') | ui/base/ui_base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698