Move webview protocol to live in webview manager service

This reduces the use of the ipc module
This commit is contained in:
Matt Bierner
2020-05-27 16:27:01 -07:00
parent 60885088f9
commit 75fb631e42
6 changed files with 79 additions and 61 deletions

View File

@@ -79,7 +79,6 @@ import { StorageKeysSyncRegistryChannel } from 'vs/platform/userDataSync/common/
import { INativeEnvironmentService } from 'vs/platform/environment/node/environmentService';
import { mnemonicButtonLabel, getPathLabel } from 'vs/base/common/labels';
import { IFileService } from 'vs/platform/files/common/files';
import { WebviewProtocolProvider } from 'vs/platform/webview/electron-main/webviewProtocolProvider';
import { WebviewChannel } from 'vs/platform/webview/electron-main/webviewIpcs';
import { WebviewMainService } from 'vs/platform/webview/electron-main/webviewMainService';
import { IWebviewManagerService } from 'vs/platform/webview/common/webviewManagerService';
@@ -102,8 +101,6 @@ export class CodeApplication extends Disposable {
super();
this.registerListeners();
this._register(new WebviewProtocolProvider(fileService));
}
private registerListeners(): void {