web - allow to contribute navigation entries (#93467)

This commit is contained in:
Benjamin Pasero
2020-03-26 16:34:33 +01:00
committed by GitHub
parent 12bdf225f1
commit a4207f7759
4 changed files with 42 additions and 32 deletions

View File

@@ -38,6 +38,7 @@ namespace schema {
case 'debug/toolbar': return MenuId.DebugToolBar;
case 'debug/toolBar': return MenuId.DebugToolBar;
case 'menuBar/file': return MenuId.MenubarFileMenu;
case 'menuBar/webNavigation': return MenuId.MenubarWebNavigationMenu;
case 'scm/title': return MenuId.SCMTitle;
case 'scm/sourceControl': return MenuId.SCMSourceControl;
case 'scm/resourceState/context': return MenuId.SCMResourceContext;
@@ -64,6 +65,7 @@ namespace schema {
switch (menuId) {
case MenuId.StatusBarWindowIndicatorMenu:
case MenuId.MenubarFileMenu:
case MenuId.MenubarWebNavigationMenu:
return true;
}
return false;