We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc56548 commit 7385f17Copy full SHA for 7385f17
packages/electron-chrome-extensions/src/browser/index.ts
@@ -199,6 +199,12 @@ export class ElectronChromeExtensions extends EventEmitter {
199
this.ctx.store.addTab(tab, window)
200
}
201
202
+ /** Remove webContents from being tracked as a tab. */
203
+ removeTab(tab: Electron.WebContents) {
204
+ this.checkWebContentsArgument(tab)
205
+ this.ctx.store.removeTab(tab)
206
+ }
207
+
208
/** Notify extension system that the active tab has changed. */
209
selectTab(tab: Electron.WebContents) {
210
this.checkWebContentsArgument(tab)
0 commit comments