Use native proxies for renderer <-> ext host RPC communication

This commit is contained in:
Alex Dima
2017-08-16 10:21:24 +02:00
parent 159de8236e
commit 2b3298af79
53 changed files with 357 additions and 414 deletions

View File

@@ -19,7 +19,7 @@ import { asWinJsPromise } from 'vs/base/common/async';
type TreeItemHandle = number;
export class ExtHostTreeViews extends ExtHostTreeViewsShape {
export class ExtHostTreeViews implements ExtHostTreeViewsShape {
private treeViews: Map<string, ExtHostTreeView<any>> = new Map<string, ExtHostTreeView<any>>();
@@ -27,7 +27,6 @@ export class ExtHostTreeViews extends ExtHostTreeViewsShape {
private _proxy: MainThreadTreeViewsShape,
private commands: ExtHostCommands
) {
super();
commands.registerArgumentProcessor({
processArgument: arg => {
if (arg && arg.$treeViewId && arg.$treeItemHandle) {