* 分离窗口信息
| 24 | * 分离窗口信息 |
| 25 | */ |
| 26 | interface DetachedWindowInfo { |
| 27 | window: BrowserWindow |
| 28 | view: WebContentsView |
| 29 | pluginPath: string |
| 30 | pluginName: string |
| 31 | pluginLogo?: string |
| 32 | isAlwaysOnTop: boolean |
| 33 | lastFocusTarget: 'titlebar' | 'plugin' // 记录最后一次焦点位置,用于窗口恢复 |
| 34 | savedFocusTarget: 'titlebar' | 'plugin' // 窗口失焦时快照的焦点状态 |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * 分离窗口管理器 - 专门管理从主窗口分离出来的插件窗口 |
nothing calls this directly
no outgoing calls
no test coverage detected