Index: ash/wm/native_cursor_manager_ash_mus.cc |
diff --git a/ash/wm/native_cursor_manager_ash_mus.cc b/ash/wm/native_cursor_manager_ash_mus.cc |
index a53c6b6dbdd937057e0b36a748e49cca9403671c..279ae7e4ec87309a6ee7c1b644004c47ba4b3af2 100644 |
--- a/ash/wm/native_cursor_manager_ash_mus.cc |
+++ b/ash/wm/native_cursor_manager_ash_mus.cc |
@@ -174,12 +174,17 @@ void NativeCursorManagerAshMus::SetVisibility( |
NotifyCursorVisibilityChange(visible); |
} |
-void NativeCursorManagerAshMus::SetCursorSet( |
- ui::CursorSetType cursor_set, |
+void NativeCursorManagerAshMus::SetCursorSize( |
+ ui::CursorSize cursor_size, |
::wm::NativeCursorManagerDelegate* delegate) { |
- // We can't just hand this off to ImageCursors like we do in the classic ash |
- // case. We need to collaborate with the mus server to fully implement this. |
- NOTIMPLEMENTED(); |
+ delegate->CommitCursorSize(cursor_size); |
+ |
+ ShellPort::Get()->SetCursorSize(cursor_size); |
+ |
+ Shell::Get() |
+ ->window_tree_host_manager() |
+ ->cursor_window_controller() |
+ ->SetCursorSize(cursor_size); |
} |
void NativeCursorManagerAshMus::SetMouseEventsEnabled( |