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

Unified Diff: ui/ozone/public/cursor_factory_ozone.h

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/ozone/public/DEPS ('k') | ui/ozone/public/cursor_factory_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/cursor_factory_ozone.h
diff --git a/ui/base/cursor/ozone/cursor_factory_ozone.h b/ui/ozone/public/cursor_factory_ozone.h
similarity index 84%
rename from ui/base/cursor/ozone/cursor_factory_ozone.h
rename to ui/ozone/public/cursor_factory_ozone.h
index 23ac1132cfbc9f8b36dc93c83180ffd1bcfa02a4..5c044849117c547e31322544ed85544b6df6473c 100644
--- a/ui/base/cursor/ozone/cursor_factory_ozone.h
+++ b/ui/ozone/public/cursor_factory_ozone.h
@@ -2,16 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_BASE_CURSOR_OZONE_CURSOR_FACTORY_OZONE_H_
-#define UI_BASE_CURSOR_OZONE_CURSOR_FACTORY_OZONE_H_
+#ifndef UI_OZONE_PUBLIC_CURSOR_FACTORY_OZONE_H_
+#define UI_OZONE_PUBLIC_CURSOR_FACTORY_OZONE_H_
-#include "ui/base/cursor/cursor.h"
-#include "ui/base/ui_base_export.h"
#include "ui/gfx/native_widget_types.h"
+#include "ui/ozone/ozone_base_export.h"
+
+namespace gfx {
+class Point;
+}
namespace ui {
-class UI_BASE_EXPORT CursorFactoryOzone {
+typedef void* PlatformCursor;
+
+class OZONE_BASE_EXPORT CursorFactoryOzone {
public:
CursorFactoryOzone();
virtual ~CursorFactoryOzone();
@@ -49,6 +54,6 @@ class UI_BASE_EXPORT CursorFactoryOzone {
static CursorFactoryOzone* impl_; // not owned
};
-} // namespace gfx
+} // namespace ui
-#endif // UI_BASE_CURSOR_OZONE_CURSOR_FACTORY_OZONE_H_
+#endif // UI_OZONE_PUBLIC_CURSOR_FACTORY_OZONE_H_
« no previous file with comments | « ui/ozone/public/DEPS ('k') | ui/ozone/public/cursor_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698