| Index: services/ui/ws/window_server.cc
|
| diff --git a/services/ui/ws/window_server.cc b/services/ui/ws/window_server.cc
|
| index c893898437022868b74c20521f7dbce6ddb9775f..24e42ac9ba8852d5c33eb494e499b96fc42759dd 100644
|
| --- a/services/ui/ws/window_server.cc
|
| +++ b/services/ui/ws/window_server.cc
|
| @@ -297,6 +297,20 @@ uint32_t WindowServer::GenerateWindowManagerChangeId(
|
| return wm_change_id;
|
| }
|
|
|
| +void WindowServer::WindowManagerSetBoundsResponse(
|
| + uint32_t window_manager_change_id,
|
| + const gfx::Rect& bounds,
|
| + const cc::LocalSurfaceId& local_surface_id) {
|
| + auto iter = in_flight_wm_change_map_.find(window_manager_change_id);
|
| + if (iter == in_flight_wm_change_map_.end())
|
| + return;
|
| +
|
| + InFlightWindowManagerChange change(iter->second);
|
| + WindowTree* tree = GetTreeWithId(change.client_id);
|
| + tree->OnSetWindowBoundsResponse(change.client_change_id, bounds,
|
| + local_surface_id);
|
| +}
|
| +
|
| void WindowServer::WindowManagerChangeCompleted(
|
| uint32_t window_manager_change_id,
|
| bool success) {
|
|
|