feat: add WebContents.opener and webContents.fromFrame() (#35140)
* feat: add WebContents.opener * feat: add webContents.fromFrame(frame) * fix: unknown type name * test: fix and add more fromFrame cases * docs: clarified terminology
This commit is contained in:
parent
697a219bcb
commit
c09c94fc98
5 changed files with 104 additions and 1 deletions
|
@ -333,6 +333,7 @@ class WebContents : public ExclusiveAccessContext,
|
|||
v8::Local<v8::Value> DevToolsWebContents(v8::Isolate* isolate);
|
||||
v8::Local<v8::Value> Debugger(v8::Isolate* isolate);
|
||||
content::RenderFrameHost* MainFrame();
|
||||
content::RenderFrameHost* Opener();
|
||||
|
||||
WebContentsZoomController* GetZoomController() { return zoom_controller_; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue