0
Files
src/components/sessions
Nick Diego Yamane d0faf7d8b4 wayland: xdg-session-management: Add command for platform_session_id
Some platforms support window-related session management at display
server side. Such as, Linux/Wayland with xdg-session-management protocol
extension. In that case, 1 new piece of data must be requested and
persisted by the client application in order to be able to ask the
windowing system to restore window states when needed:

- platform_session_id: a string that identifies a platform session,
  generated by the display server (eg: the Wayland compositor
  implementing the xdg-session-management protocol), stored by chromium
  in the session commands backing storage, and sent back to the display
  server when restoring a browser session.

Further design notes available at
https://notes.nickdiego.dev/chromium/wayland-session-management

The upcoming CLs will add the remaining bits, including:

- UI/Views framework API required additions.
- Ozone/Wayland implementation based on xdg-toplevel-drag-v1 protocol.
- Chrome required plumbing and required changes.

Bug: 352081012
Change-Id: I5d2d7c5755c1cf5848bffd6231cc75f3fda2def3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6329136
Reviewed-by: Darryl James <dljames@chromium.org>
Commit-Queue: Nick Yamane <nickdiego@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1437661}
2025-03-25 12:14:54 -07:00
..