Index: ui/gfx/ozone/dri/dri_surface_factory.h |
diff --git a/ui/gfx/ozone/dri/dri_surface_factory.h b/ui/gfx/ozone/dri/dri_surface_factory.h |
index 4981394a78a51e1e12e5c74d918a8a61ee1e013e..3b958bdc691a1a91c3f75f1bb957be0f260cb0a3 100644 |
--- a/ui/gfx/ozone/dri/dri_surface_factory.h |
+++ b/ui/gfx/ozone/dri/dri_surface_factory.h |
@@ -6,6 +6,7 @@ |
#define UI_GFX_OZONE_DRI_DRI_SURFACE_FACTORY_H_ |
#include "base/memory/scoped_ptr.h" |
+#include "third_party/skia/include/core/SkBitmap.h" |
#include "ui/gfx/ozone/surface_factory_ozone.h" |
namespace gfx { |
@@ -67,6 +68,9 @@ class GFX_EXPORT DriSurfaceFactory : public SurfaceFactoryOzone { |
// pending frame. |
virtual void WaitForPageFlipEvent(int fd); |
+ // Draw the last set cursor & update the cursor plane. |
+ void ResetCursor(); |
+ |
scoped_ptr<DriWrapper> drm_; |
HardwareState state_; |
@@ -76,6 +80,9 @@ class GFX_EXPORT DriSurfaceFactory : public SurfaceFactoryOzone { |
scoped_ptr<DriSurface> cursor_surface_; |
+ SkBitmap cursor_bitmap_; |
+ gfx::Point cursor_location_; |
+ |
DISALLOW_COPY_AND_ASSIGN(DriSurfaceFactory); |
}; |