chromeos: ensure client is notified of LocalSurfaceId
The server assigns LocalSurfaceIds (each window may have a LocalSurfaceId). LocalSurfaceIds change any time the size changes. This means the server needs to notify the client any time the bounds change. Normally when a client requests a change that succeeds the server acks it, and that is it. What we've done with bounds of roots (where LocalSurfaceIds matter), is when the client requests the change the server responds with OnWindowBoundsChanged(), which includes the LocalSurfaceId, and then the server returns false. By returning false the client applies the LocalSurfaceId that was just sent from the server. services/ui/ws had this logic, this makes ws2 have the same logic. This is at least part of the problem as to why painting isn't working. BUG=837684 TEST=covered by test Change-Id: Ia66d3e5b4120adce2a5d033563a0c387c3bd7b7e Reviewed-on: https://chromium-review.googlesource.com/1066828 Commit-Queue: Scott Violet <sky@chromium.org> Reviewed-by:Michael Wasserman <msw@chromium.org> Cr-Commit-Position: refs/heads/master@{#560177}
Showing
Please register or sign in to comment