Index: ui/gfx/ozone/surface_factory_ozone.h |
diff --git a/ui/gfx/ozone/surface_factory_ozone.h b/ui/gfx/ozone/surface_factory_ozone.h |
index fde29c27bb98e8f7d400ce33eb80a9cfb0c63a7f..c9da004801b2158c2c687d3b953e2fcb03138b90 100644 |
--- a/ui/gfx/ozone/surface_factory_ozone.h |
+++ b/ui/gfx/ozone/surface_factory_ozone.h |
@@ -8,10 +8,12 @@ |
#include "base/callback.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/native_library.h" |
+#include "ui/gfx/geometry/point.h" |
+#include "ui/gfx/geometry/rect.h" |
#include "ui/gfx/gfx_export.h" |
#include "ui/gfx/native_widget_types.h" |
-#include "ui/gfx/rect.h" |
+class SkBitmap; |
class SkCanvas; |
namespace gfx { |
@@ -137,6 +139,12 @@ class GFX_EXPORT SurfaceFactoryOzone { |
// caller. desired_list contains list of desired EGL properties and values. |
virtual const int32* GetEGLSurfaceProperties(const int32* desired_list); |
+ // Sets the cursor image to |image|. |
+ virtual void SetCursorImage(const SkBitmap& image); |
+ |
+ // Sets the cursor position to |location|. |
+ virtual void MoveCursorTo(const gfx::Point& location); |
+ |
private: |
static SurfaceFactoryOzone* impl_; // not owned |
}; |