@@ -8,7 +8,7 @@ import { assign } from 'vs/base/common/objects';
88import { URI } from 'vs/base/common/uri' ;
99import { IWindowsService , OpenContext , IEnterWorkspaceResult , IOpenSettings , IURIToOpen } from 'vs/platform/windows/common/windows' ;
1010import { IEnvironmentService , ParsedArgs } from 'vs/platform/environment/common/environment' ;
11- import { app , Menu , MessageBoxReturnValue , SaveDialogReturnValue , OpenDialogReturnValue , BrowserWindow , MessageBoxOptions , SaveDialogOptions , OpenDialogOptions } from 'electron' ;
11+ import { app , MessageBoxReturnValue , SaveDialogReturnValue , OpenDialogReturnValue , BrowserWindow , MessageBoxOptions , SaveDialogOptions , OpenDialogOptions } from 'electron' ;
1212import { Event } from 'vs/base/common/event' ;
1313import { IURLService , IURLHandler } from 'vs/platform/url/common/url' ;
1414import { IWindowsMainService , ISharedProcess , ICodeWindow } from 'vs/platform/windows/electron-main/windows' ;
@@ -103,42 +103,6 @@ export class LegacyWindowsMainService extends Disposable implements IWindowsServ
103103 return this . withWindow ( windowId , codeWindow => this . historyMainService . getRecentlyOpened ( codeWindow . config . workspace , codeWindow . config . folderUri , codeWindow . config . filesToOpenOrCreate ) , ( ) => this . historyMainService . getRecentlyOpened ( ) ) ! ;
104104 }
105105
106- async newWindowTab ( ) : Promise < void > {
107- this . logService . trace ( 'windowsService#newWindowTab' ) ;
108-
109- this . windowsMainService . openNewTabbedWindow ( OpenContext . API ) ;
110- }
111-
112- async showPreviousWindowTab ( ) : Promise < void > {
113- this . logService . trace ( 'windowsService#showPreviousWindowTab' ) ;
114-
115- Menu . sendActionToFirstResponder ( 'selectPreviousTab:' ) ;
116- }
117-
118- async showNextWindowTab ( ) : Promise < void > {
119- this . logService . trace ( 'windowsService#showNextWindowTab' ) ;
120-
121- Menu . sendActionToFirstResponder ( 'selectNextTab:' ) ;
122- }
123-
124- async moveWindowTabToNewWindow ( ) : Promise < void > {
125- this . logService . trace ( 'windowsService#moveWindowTabToNewWindow' ) ;
126-
127- Menu . sendActionToFirstResponder ( 'moveTabToNewWindow:' ) ;
128- }
129-
130- async mergeAllWindowTabs ( ) : Promise < void > {
131- this . logService . trace ( 'windowsService#mergeAllWindowTabs' ) ;
132-
133- Menu . sendActionToFirstResponder ( 'mergeAllWindows:' ) ;
134- }
135-
136- async toggleWindowTabsBar ( ) : Promise < void > {
137- this . logService . trace ( 'windowsService#toggleWindowTabsBar' ) ;
138-
139- Menu . sendActionToFirstResponder ( 'toggleTabBar:' ) ;
140- }
141-
142106 async focusWindow ( windowId : number ) : Promise < void > {
143107 this . logService . trace ( 'windowsService#focusWindow' , windowId ) ;
144108
0 commit comments