| Index: services/ui/ws/window_tree.cc
|
| diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
|
| index c6651fe2c1bf6dca5e5dab877c3146801f041b88..6721e2da09904bd189fe828aa07abb2e65a67c47 100644
|
| --- a/services/ui/ws/window_tree.cc
|
| +++ b/services/ui/ws/window_tree.cc
|
| @@ -552,6 +552,13 @@ void WindowTree::AddActivationParent(const ClientWindowId& window_id) {
|
| }
|
| }
|
|
|
| +void WindowTree::OnSetWindowBoundsResponse(
|
| + uint32_t change_id,
|
| + const gfx::Rect& bounds,
|
| + const cc::LocalSurfaceId& local_surface_id) {
|
| + client()->OnSetWindowBoundsResponse(change_id, bounds, local_surface_id);
|
| +}
|
| +
|
| void WindowTree::OnChangeCompleted(uint32_t change_id, bool success) {
|
| client()->OnChangeCompleted(change_id, success);
|
| }
|
| @@ -1086,6 +1093,7 @@ mojom::WindowDataPtr WindowTree::WindowToWindowData(
|
| window_data->bounds = window->bounds();
|
| window_data->properties = mojo::MapToUnorderedMap(window->properties());
|
| window_data->visible = window->visible();
|
| + window_data->local_surface_id = window->current_local_surface_id();
|
| return window_data;
|
| }
|
|
|
| @@ -2009,6 +2017,14 @@ void WindowTree::SetExtendedHitArea(Id window_id, const gfx::Insets& hit_area) {
|
| window->set_extended_hit_test_region(hit_area);
|
| }
|
|
|
| +void WindowTree::WmSetBoundsResponse(
|
| + uint32_t change_id,
|
| + const gfx::Rect& bounds,
|
| + const cc::LocalSurfaceId& local_surface_id) {
|
| + window_server_->WindowManagerSetBoundsResponse(change_id, bounds,
|
| + local_surface_id);
|
| +}
|
| +
|
| void WindowTree::WmResponse(uint32_t change_id, bool response) {
|
| if (window_server_->in_move_loop() &&
|
| window_server_->GetCurrentMoveLoopChangeId() == change_id) {
|
|
|