Rewild Your Web
web
browser
dweb
1--- original
2+++ modified
3@@ -168,6 +168,10 @@
4 /// The [`Theme`] to use for this page, once it loads.
5 #[no_trace]
6 pub(crate) theme: Theme,
7+ /// Whether this is an embedded webview (has parent_info but should have no WindowProxy parent).
8+ pub(crate) is_embedded_webview: bool,
9+ /// Whether this document should never receive focus (hidefocus attribute on the iframe).
10+ pub(crate) hide_focus: bool,
11 }
12
13 impl InProgressLoad {
14@@ -190,6 +194,8 @@
15 url_list: vec![url],
16 user_content_manager_id: new_pipeline_info.user_content_manager_id,
17 theme: new_pipeline_info.theme,
18+ is_embedded_webview: new_pipeline_info.is_embedded_webview,
19+ hide_focus: new_pipeline_info.hide_focus,
20 }
21 }
22