feat: WebContents.focusedFrame (#45667)

feat: webContents.focusedFrame
This commit is contained in:
Sam Maddock 2025-03-04 11:38:58 -05:00 committed by GitHub
parent 54136042c6
commit 8c11764800
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 44 additions and 1 deletions

View file

@ -374,6 +374,7 @@ class WebContents final : public ExclusiveAccessContext,
v8::Local<v8::Value> Debugger(v8::Isolate* isolate);
content::RenderFrameHost* MainFrame();
content::RenderFrameHost* Opener();
content::RenderFrameHost* FocusedFrame();
WebContentsZoomController* GetZoomController() { return zoom_controller_; }