0
Files
src/components/sessions
Nick Diego Yamane 04881257ed wayland: session-management: Implement window removal
This implements window removal in ozone/wayland as well as adds the
required plumbing code in //chrome and //components. As mentioned in the
linked crbug and the design notes [1], for the experimental prototocol
which ships currently in Mutter 47 and 48, supporting window removals at
browser startup was more challenging than it's supposed to be in the
final protocol. That's because xdg_session_v1.remove_toplevel [2] is not
present there, leading to the hackish dummy window based approach. All
in all, it should be ok for this stage (experimental).

[1] https://notes.nickdiego.dev/chromium/wayland-session-management
[2] https://wayland.app/protocols/wayland-protocols/18#xdg_session_v1:request:remove_toplevel

R=dljames, fangzhoug, orko@igalia.com

Fixed: 352081012
Test: Manually with chrome on Gnome 48.0.
Change-Id: Ic2eb3b7a0f8586939f45820093857da395fc9f62
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6435570
Reviewed-by: Darryl James <dljames@chromium.org>
Reviewed-by: Orko Garai <orko@igalia.com>
Reviewed-by: Kramer Ge <fangzhoug@chromium.org>
Commit-Queue: Nick Yamane <nickdiego@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1444315}
2025-04-08 12:53:51 -07:00
..