Index: ash/mus/bridge/shell_port_mash.cc |
diff --git a/ash/mus/bridge/shell_port_mash.cc b/ash/mus/bridge/shell_port_mash.cc |
index 5abe4f69cf7e6bb9aa7081a82f6ec0f496708ec7..3b44ae85c9d9d7e13b375d37b6345c4fdda8cefd 100644 |
--- a/ash/mus/bridge/shell_port_mash.cc |
+++ b/ash/mus/bridge/shell_port_mash.cc |
@@ -242,13 +242,25 @@ void ShellPortMash::SetDisplayWorkAreaInsets(WmWindow* window, |
} |
void ShellPortMash::LockCursor() { |
- // TODO: http://crbug.com/637853 |
- NOTIMPLEMENTED(); |
+ window_manager_->window_manager_client()->LockCursor(); |
} |
void ShellPortMash::UnlockCursor() { |
- // TODO: http://crbug.com/637853 |
- NOTIMPLEMENTED(); |
+ window_manager_->window_manager_client()->UnlockCursor(); |
+} |
+ |
+void ShellPortMash::ShowCursor() { |
+ window_manager_->window_manager_client()->ShowCursor(); |
+} |
+ |
+void ShellPortMash::HideCursor() { |
+ window_manager_->window_manager_client()->HideCursor(); |
+} |
+ |
+void ShellPortMash::SetGlobalOverrideCursor( |
+ base::Optional<ui::CursorData> cursor) { |
+ window_manager_->window_manager_client()->SetGlobalOverrideCursor( |
+ std::move(cursor)); |
} |
bool ShellPortMash::IsMouseEventsEnabled() { |