mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Propagate opener to BackgroundsContents.
https://codereview.chromium.org/2882513005
This commit is contained in:
committed by
Cheng Zhao
parent
f694b64d71
commit
fe48a92422
@@ -683,6 +683,7 @@ bool InspectableWebContentsImpl::DidAddMessageToConsole(
|
||||
|
||||
bool InspectableWebContentsImpl::ShouldCreateWebContents(
|
||||
content::WebContents* web_contents,
|
||||
content::RenderFrameHost* opener,
|
||||
content::SiteInstance* source_site_instance,
|
||||
int32_t route_id,
|
||||
int32_t main_frame_route_id,
|
||||
|
||||
@@ -140,6 +140,7 @@ class InspectableWebContentsImpl :
|
||||
const base::string16& source_id) override;
|
||||
bool ShouldCreateWebContents(
|
||||
content::WebContents* web_contents,
|
||||
content::RenderFrameHost* opener,
|
||||
content::SiteInstance* source_site_instance,
|
||||
int32_t route_id,
|
||||
int32_t main_frame_route_id,
|
||||
|
||||
Reference in New Issue
Block a user