@@ -14,10 +14,11 @@ import { ILogService } from 'vs/platform/log/common/log';
1414import { IConfigurationService } from 'vs/platform/configuration/common/configuration' ;
1515import { parseArgs , OPTIONS } from 'vs/platform/environment/node/argv' ;
1616import product from 'vs/platform/product/common/product' ;
17- import { IWindowSettings , MenuBarVisibility , IWindowConfiguration , ReadyState , getTitleBarStyle , getMenuBarVisibility } from 'vs/platform/windows/common/windows' ;
17+ import { IWindowSettings , MenuBarVisibility , ReadyState , getTitleBarStyle , getMenuBarVisibility } from 'vs/platform/windows/common/windows' ;
1818import { Disposable , toDisposable } from 'vs/base/common/lifecycle' ;
1919import { isLinux , isMacintosh , isWindows } from 'vs/base/common/platform' ;
2020import { ICodeWindow , IWindowState , WindowMode } from 'vs/platform/windows/electron-main/windows' ;
21+ import { INativeWindowConfiguration } from 'vs/platform/windows/node/window' ;
2122import { IWorkspaceIdentifier } from 'vs/platform/workspaces/common/workspaces' ;
2223import { IWorkspacesMainService } from 'vs/platform/workspaces/electron-main/workspacesMainService' ;
2324import { IBackupMainService } from 'vs/platform/backup/electron-main/backup' ;
@@ -85,7 +86,7 @@ export class CodeWindow extends Disposable implements ICodeWindow {
8586
8687 private readonly whenReadyCallbacks : { ( window : ICodeWindow ) : void } [ ] ;
8788
88- private pendingLoadConfig ?: IWindowConfiguration ;
89+ private pendingLoadConfig ?: INativeWindowConfiguration ;
8990
9091 private marketplaceHeadersPromise : Promise < object > ;
9192
@@ -231,8 +232,8 @@ export class CodeWindow extends Disposable implements ICodeWindow {
231232 this . registerListeners ( ) ;
232233 }
233234
234- private currentConfig : IWindowConfiguration | undefined ;
235- get config ( ) : IWindowConfiguration | undefined { return this . currentConfig ; }
235+ private currentConfig : INativeWindowConfiguration | undefined ;
236+ get config ( ) : INativeWindowConfiguration | undefined { return this . currentConfig ; }
236237
237238 private _id : number ;
238239 get id ( ) : number { return this . _id ; }
@@ -552,7 +553,7 @@ export class CodeWindow extends Disposable implements ICodeWindow {
552553 }
553554 }
554555
555- load ( config : IWindowConfiguration , isReload ?: boolean , disableExtensions ?: boolean ) : void {
556+ load ( config : INativeWindowConfiguration , isReload ?: boolean , disableExtensions ?: boolean ) : void {
556557
557558 // If this is the first time the window is loaded, we associate the paths
558559 // directly with the window because we assume the loading will just work
@@ -612,7 +613,7 @@ export class CodeWindow extends Disposable implements ICodeWindow {
612613 this . _onLoad . fire ( ) ;
613614 }
614615
615- reload ( configurationIn ?: IWindowConfiguration , cli ?: ParsedArgs ) : void {
616+ reload ( configurationIn ?: INativeWindowConfiguration , cli ?: ParsedArgs ) : void {
616617
617618 // If config is not provided, copy our current one
618619 const configuration = configurationIn ? configurationIn : objects . mixin ( { } , this . currentConfig ) ;
@@ -639,7 +640,7 @@ export class CodeWindow extends Disposable implements ICodeWindow {
639640 this . load ( configuration , true , disableExtensions ) ;
640641 }
641642
642- private getUrl ( windowConfiguration : IWindowConfiguration ) : string {
643+ private getUrl ( windowConfiguration : INativeWindowConfiguration ) : string {
643644
644645 // Set window ID
645646 windowConfiguration . windowId = this . _win . id ;
0 commit comments