Fixed "Close Window" shortcut in File Menu for Hosted/Packaged apps.
There is a bug where the "Close Window" shortcut for hosted/packaged apps would disappear after focusing the File menu in a Chrome browser. This is because the shortcuts had the same key equivalent, and OS X was choosing to only display one of them. This CL fixes this by keeping a reference to the conflicting menu items and enabling/disabling the shortcuts on focus. BUG=455067 Review URL: https://codereview.chromium.org/898543008 Cr-Commit-Position: refs/heads/master@{#314690}
Showing
Please register or sign in to comment