Commit b6b04d44 authored by Robert Sesek's avatar Robert Sesek Committed by Commit Bot

mac: Restore the "Hide Other" main menu shortcut.

Also ensure Hide Others and Show All are in the PWA menus.

Bug: 892480
Change-Id: I507771745c95203fda8344703c7b1b015a93699a
Reviewed-on: https://chromium-review.googlesource.com/c/1288851Reviewed-by: default avatarccameron <ccameron@chromium.org>
Commit-Queue: Robert Sesek <rsesek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#600851}
parent f2ace16e
...@@ -55,10 +55,10 @@ base::scoped_nsobject<NSMenuItem> BuildAppMenu( ...@@ -55,10 +55,10 @@ base::scoped_nsobject<NSMenuItem> BuildAppMenu(
.action(@selector(hide:)), .action(@selector(hide:)),
Item(IDS_HIDE_OTHERS_MAC) Item(IDS_HIDE_OTHERS_MAC)
.action(@selector(hideOtherApplications:)) .action(@selector(hideOtherApplications:))
.remove_if(is_pwa), .key_equivalent(@"h", NSEventModifierFlagCommand |
NSEventModifierFlagOption),
Item(IDS_SHOW_ALL_MAC) Item(IDS_SHOW_ALL_MAC)
.action(@selector(unhideAllApplications:)) .action(@selector(unhideAllApplications:)),
.remove_if(is_pwa),
Item().is_separator(), Item().is_separator(),
Item(IDS_CONFIRM_TO_QUIT_OPTION) Item(IDS_CONFIRM_TO_QUIT_OPTION)
.target(app_delegate) .target(app_delegate)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment