a471e69455
桌面壳生命周期按可见性、最小化和焦点统一归一 托盘隐藏前注入 background 并在恢复窗口时回放当前状态 H5 lifecycle 测试覆盖 background 暂停语义 宿主壳文档和原生壳门禁同步桌面 background 约定
18 lines
873 B
Rust
18 lines
873 B
Rust
pub(crate) use crate::shell::file_drop::register_desktop_file_drop_events;
|
|
pub(crate) use crate::shell::lifecycle::{
|
|
emit_current_desktop_lifecycle_event, register_desktop_lifecycle_events,
|
|
replay_desktop_webview_state, should_replay_desktop_webview_state_on_page_load,
|
|
};
|
|
pub(crate) use crate::shell::navigation::{
|
|
normalize_external_url, normalize_native_page_url, open_desktop_external_navigation,
|
|
register_desktop_navigation_events, should_allow_desktop_webview_download,
|
|
should_allow_desktop_webview_navigation,
|
|
};
|
|
pub(crate) use crate::shell::network::{
|
|
register_desktop_network_events, resolve_desktop_network_status,
|
|
};
|
|
pub(crate) use crate::shell::runtime::{color_scheme_from_theme, desktop_platform};
|
|
pub(crate) use crate::shell::url::{
|
|
desktop_h5_url_with_host_context, desktop_window_config_with_runtime_platform, WEB_APP_ORIGIN,
|
|
};
|