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

Unified Diff: ui/aura/client/cursor_client.h

Issue 2780623002: exo: Fix multi-display hardware cursor (Closed)
Patch Set: Fix style error Created 3 years, 7 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 | « components/exo/wm_helper_mus.cc ('k') | ui/aura/client/cursor_client_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « components/exo/wm_helper_mus.cc ('k') | ui/aura/client/cursor_client_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698