src/vs/platform/windows/electron-main/windowsMainService.ts/WindowsMainService/getWindowByWebContents
class WindowsMainService:	getWindowByWebContents(webContents: WebContents): ICodeWindow | undefined {
		const browserWindow = BrowserWindow.fromWebContents(webContents);
		if (!browserWindow) {
			return undefined;
		}

		return this.getWindowById(browserWindow.id);
	}