host: the popover host (webview, session, z-order, close rules) is the host's
popover_host owns the one popover webview of an app: creation (recreated above tabs created after it), placement through popover::place, the session (seq, source tab, app meta flattened into the JSON the page reads), the toggle-closed window, close on layout change, navigation (the app says whether the context moved on), shell raise, and the popover_only / current caller checks. The app passes a PopoverConfig (page url, open event, macOS ground). Tests: layout staleness and the session JSON shape. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
7ab3ecd02e
commit
1edc6440ef
2 changed files with 295 additions and 0 deletions
|
|
@ -107,6 +107,8 @@ mod update_commands;
|
|||
pub mod devloop;
|
||||
#[cfg(feature = "tauri")]
|
||||
pub mod host;
|
||||
#[cfg(feature = "tauri")]
|
||||
pub mod popover_host;
|
||||
#[cfg(all(feature = "tauri", feature = "net"))]
|
||||
pub mod updater;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue