Index: services/ui/ws/display_manager.h |
diff --git a/services/ui/ws/display_manager.h b/services/ui/ws/display_manager.h |
index 00eeebb10f82c6f18c8948b26ee3390b38aded7a..333ebef89ce5e263c6fede4b1b4fd00d75a62787 100644 |
--- a/services/ui/ws/display_manager.h |
+++ b/services/ui/ws/display_manager.h |
@@ -18,6 +18,7 @@ |
namespace ui { |
namespace ws { |
+class CursorLocationManager; |
class Display; |
class ServerWindow; |
class UserDisplayManager; |
@@ -38,6 +39,9 @@ class DisplayManager : public UserIdTrackerObserver, |
// return value. |
UserDisplayManager* GetUserDisplayManager(const UserId& user_id); |
+ // Returns the CursorLocationManager for |user_id|. |
+ CursorLocationManager* GetCursorLocationManager(const UserId& user_id); |
+ |
// Adds/removes a Display. DisplayManager owns the Displays. |
// TODO(sky): make add take a scoped_ptr. |
void AddDisplay(Display* display); |
@@ -99,6 +103,9 @@ class DisplayManager : public UserIdTrackerObserver, |
std::map<UserId, std::unique_ptr<UserDisplayManager>> user_display_managers_; |
+ std::map<UserId, std::unique_ptr<CursorLocationManager>> |
+ cursor_location_managers_; |
+ |
// ID to use for next root node. |
ClientSpecificId next_root_id_; |