Index: ui/aura/client/cursor_client.h |
diff --git a/ui/aura/client/cursor_client.h b/ui/aura/client/cursor_client.h |
index 138e5e44b30d4a44e5fb0960c7418a31dd567eda..8a78c1a34b558c6821eca02975ee56858405f961 100644 |
--- a/ui/aura/client/cursor_client.h |
+++ b/ui/aura/client/cursor_client.h |
@@ -61,6 +61,9 @@ class AURA_EXPORT CursorClient { |
// Sets the display for the cursor. |
virtual void SetDisplay(const display::Display& display) = 0; |
+ // Returns the display where the cursor is located. |
+ virtual const display::Display& GetDisplay() const = 0; |
+ |
// Locks the cursor change. The cursor type, cursor visibility, and mouse |
// events enable state never change as long as lock is held by anyone. |
virtual void LockCursor() = 0; |