提交 c25c0485 编写于 作者: J Johannes Rieken

deliver missing changes

上级 d7a466fc
......@@ -11,6 +11,7 @@ import { InstantiationService } from 'vs/platform/instantiation/common/instantia
import { ServiceCollection } from 'vs/platform/instantiation/common/serviceCollection';
import { KeyCode } from 'vs/base/common/keyCodes';
import { IKeyboardEvent } from 'vs/platform/keybinding/common/keybinding';
import { NullTelemetryService } from 'vs/platform/telemetry/common/telemetryUtils';
suite('StandaloneKeybindingService', () => {
......@@ -35,7 +36,7 @@ suite('StandaloneKeybindingService', () => {
let domElement = document.createElement('div');
let keybindingService = new TestStandaloneKeybindingService(contextKeyService, commandService, messageService, domElement);
let keybindingService = new TestStandaloneKeybindingService(contextKeyService, commandService, NullTelemetryService, messageService, domElement);
let commandInvoked = false;
keybindingService.addDynamicKeybinding('testCommand', KeyCode.F9, () => {
......
......@@ -47,6 +47,7 @@ export abstract class AbstractKeybindingService implements IKeybindingService {
) {
this._contextKeyService = contextKeyService;
this._commandService = commandService;
this._telemetryService = telemetryService;
this._statusService = statusService;
this._messageService = messageService;
......
......@@ -19,6 +19,7 @@ import { TPromise } from 'vs/base/common/winjs.base';
import { ResolvedKeybindingItem } from 'vs/platform/keybinding/common/resolvedKeybindingItem';
import { OS } from 'vs/base/common/platform';
import { IKeyboardEvent } from 'vs/platform/keybinding/common/keybinding';
import { NullTelemetryService } from 'vs/platform/telemetry/common/telemetryUtils';
function createContext(ctx: any) {
return {
......@@ -40,7 +41,7 @@ suite('AbstractKeybindingService', () => {
messageService: IMessageService,
statusService?: IStatusbarService
) {
super(contextKeyService, commandService, messageService, statusService);
super(contextKeyService, commandService, NullTelemetryService, messageService, statusService);
this._resolver = resolver;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册