🍎 Add roles for macOS native tab menu items

Fixes #9086, #10064.
This commit is contained in:
Michael Kaylan 2017-08-15 11:27:25 -04:00
parent 796664ef1c
commit 7741a0e6ad
2 changed files with 10 additions and 0 deletions

View file

@ -45,6 +45,11 @@ Role kRolesMap[] = {
{ @selector(performZoom:), "zoom" },
{ @selector(terminate:), "quit" },
{ @selector(toggleFullScreen:), "togglefullscreen" },
{ @selector(toggleTabBar:), "toggletabbar" },
{ @selector(selectNextTab:), "selectnexttab" },
{ @selector(selectPreviousTab:), "selectprevioustab" },
{ @selector(mergeAllWindows:), "mergeallwindows" },
{ @selector(moveTabToNewWindow:), "movetabtonewwindow" },
};
} // namespace