api: implementation of proposed window activity API (#182563)

* api: implementation of proposed window activity API

For #181569

* fix build

* fix build more

* add cell activity per @rebornix
This commit is contained in:
Connor Peet
2023-05-16 08:49:33 -07:00
committed by GitHub
parent f8af7937a0
commit 8b3523a18d
14 changed files with 317 additions and 13 deletions

View File

@@ -684,7 +684,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
return extHostTerminalService.onDidWriteTerminalData(listener, thisArg, disposables);
},
get state() {
return extHostWindow.state;
return extHostWindow.getState(extension);
},
onDidChangeWindowState(listener, thisArg?, disposables?) {
return extHostWindow.onDidChangeWindowState(listener, thisArg, disposables);