[ozone/wayland] Implement listen to close requests from Wayland
Users may request to close a browser window using close requests originated from Wayland compositors. These requests can be envoked by Mod+Shift+Q, for example. The API responsible for this feature is the listener interface of xdg_v5 and zxdg_v6 surfaces. We have already had a dumb implementation for them, but the calls have not been plumbed. Thus, just forward the calls to the WaylandWindow and that's it. Bug: 989043 Test: WaylandWindowTest.OnCloseRequest Change-Id: I748fa93738900313013a0c4f48a709f28c24c352 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1728549 Commit-Queue: Maksim Sisov <msisov@igalia.com> Reviewed-by:Antonio Gomes <tonikitoo@igalia.com> Cr-Commit-Position: refs/heads/master@{#682687}
Showing
Please register or sign in to comment