Index: ui/events/ozone/evdev/cursor_delegate_evdev.h |
diff --git a/ui/events/ozone/evdev/cursor_delegate_evdev.h b/ui/events/ozone/evdev/cursor_delegate_evdev.h |
index 52412ac89d142965f634f09b1570a38979ad9262..426fcb3f95a65ad7366c8b83c2a00a2373887d49 100644 |
--- a/ui/events/ozone/evdev/cursor_delegate_evdev.h |
+++ b/ui/events/ozone/evdev/cursor_delegate_evdev.h |
@@ -11,6 +11,7 @@ |
namespace gfx { |
class Vector2dF; |
+class Rect; |
} |
namespace ui { |
@@ -23,12 +24,16 @@ class EVENTS_OZONE_EVDEV_EXPORT CursorDelegateEvdev { |
virtual void MoveCursor(const gfx::Vector2dF& delta) = 0; |
virtual void MoveCursorTo(gfx::AcceleratedWidget widget, |
const gfx::PointF& location) = 0; |
+ virtual void MoveCursorTo(const gfx::PointF& location) = 0; |
// Location in window. |
virtual gfx::PointF location() = 0; |
// Cursor visibility. |
virtual bool IsCursorVisible() = 0; |
+ |
+ // The bounds of the display that the cursor is currently on |
+ virtual gfx::Rect GetCursorDisplayBounds() = 0; |
}; |
} // namespace ui |