提交 3c5f9ebe 编写于 作者: D Daniel Imms

Remove remnants of vscodeWindowId

上级 7ba4f89e
...@@ -32,7 +32,6 @@ export interface IWindowCreationOptions { ...@@ -32,7 +32,6 @@ export interface IWindowCreationOptions {
extensionDevelopmentPath?: string; extensionDevelopmentPath?: string;
allowFullscreen?: boolean; allowFullscreen?: boolean;
titleBarStyle?: 'native' | 'custom'; titleBarStyle?: 'native' | 'custom';
vscodeWindowId?: string;
} }
export enum WindowMode { export enum WindowMode {
...@@ -139,7 +138,6 @@ export class VSCodeWindow implements IVSCodeWindow { ...@@ -139,7 +138,6 @@ export class VSCodeWindow implements IVSCodeWindow {
private _lastFocusTime: number; private _lastFocusTime: number;
private _readyState: ReadyState; private _readyState: ReadyState;
private _extensionDevelopmentPath: string; private _extensionDevelopmentPath: string;
private _vscodeWindowId: string;
private windowState: IWindowState; private windowState: IWindowState;
private currentWindowMode: WindowMode; private currentWindowMode: WindowMode;
...@@ -199,8 +197,6 @@ export class VSCodeWindow implements IVSCodeWindow { ...@@ -199,8 +197,6 @@ export class VSCodeWindow implements IVSCodeWindow {
} }
} }
this._vscodeWindowId = config.vscodeWindowId ? config.vscodeWindowId : Date.now().toString();
// Create the browser window. // Create the browser window.
this._win = new BrowserWindow(options); this._win = new BrowserWindow(options);
this._id = this._win.id; this._id = this._win.id;
...@@ -265,10 +261,6 @@ export class VSCodeWindow implements IVSCodeWindow { ...@@ -265,10 +261,6 @@ export class VSCodeWindow implements IVSCodeWindow {
return this._win; return this._win;
} }
public get vscodeWindowId(): string {
return this._vscodeWindowId;
}
public focus(): void { public focus(): void {
if (!this._win) { if (!this._win) {
return; return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册