fix: offscreen mode under window.open creation (#48070)

fix: offscreen mode under window.open creation
This commit is contained in:
Shelley Vohr 2025-08-18 22:17:22 +02:00 committed by GitHub
commit beee3737a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 124 additions and 18 deletions

View file

@ -508,6 +508,8 @@ class WebContents final : public ExclusiveAccessContext,
int opener_render_frame_id,
const content::mojom::CreateNewWindowParams& params,
content::WebContents* new_contents) override;
void MaybeOverrideCreateParamsForNewWindow(
content::WebContents::CreateParams* create_params) override;
content::WebContents* AddNewContents(
content::WebContents* source,
std::unique_ptr<content::WebContents> new_contents,