diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index 4b4a677af92..2cddafa25e7 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -580,6 +580,12 @@ Returns `BrowserWindow` - The window that is focused in this application, otherw Returns `BrowserWindow` - The window that owns the given `webContents`. +#### `BrowserWindow.fromBrowserView(browserView)` + +* `browserView` [BrowserView](browser-view.md) + +Returns `BrowserWindow | null` - The window that owns the given `browserView`. If the given view is not attached to any window, returns `null`. + #### `BrowserWindow.fromId(id)` * `id` Integer