Files
Genarrative/apps/desktop-shell/src-tauri/src/shell/webview.rs
T
kdletters ac6de47aa5 记录桌面壳下载阻断事件
桌面壳阻断 WebView 下载请求时记录宿主诊断日志

补充桌面 WebView 下载阻断 handler 单测

扩展桌面壳配置门禁防止下载阻断静默回退

修正桌面壳回放门禁的格式敏感匹配
2026-06-20 22:38:45 +08:00

18 lines
935 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, log_desktop_host_event_result,
register_desktop_lifecycle_events, replay_desktop_webview_state,
should_replay_desktop_webview_state_on_page_load,
};
pub(crate) use crate::shell::navigation::{
desktop_external_navigation_url, handle_desktop_webview_download, normalize_external_url,
normalize_native_page_url, open_desktop_external_navigation,
open_normalized_desktop_external_url, register_desktop_navigation_events,
should_allow_desktop_webview_navigation,
};
pub(crate) use crate::shell::network::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,
};