Index: components/mus/ws/window_server.cc |
diff --git a/components/mus/ws/window_server.cc b/components/mus/ws/window_server.cc |
index 75e74598aa52c2d1af93593d2fd02a625dbb5668..3f7873e7381eb16f2f144467d926f9b15efda033 100644 |
--- a/components/mus/ws/window_server.cc |
+++ b/components/mus/ws/window_server.cc |
@@ -312,6 +312,24 @@ void WindowServer::WindowManagerCreatedTopLevelWindow( |
change.client_change_id, window); |
} |
+void WindowServer::WindowManagerCompletedMoveLoop( |
+ uint32_t window_manager_change_id, |
+ const ServerWindow* window, |
+ bool completed) { |
+ InFlightWindowManagerChange change; |
+ if (!GetAndClearInFlightWindowManagerChange(window_manager_change_id, |
+ &change)) { |
+ return; |
+ } |
+ if (!window) { |
+ WindowManagerSentBogusMessage(); |
+ return; |
+ } |
+ |
+ WindowTree* tree = GetTreeWithId(change.client_id); |
+ tree->OnMoveLoopCompleted(change.client_change_id, completed); |
+} |
+ |
void WindowServer::ProcessWindowBoundsChanged(const ServerWindow* window, |
const gfx::Rect& old_bounds, |
const gfx::Rect& new_bounds) { |