Fix quit confirmation panel for non-US keyboards
Apple’s documentation on menus is incorrect (see the linked bug) so the test we were doing was wrong. And anyway, why double-check the shortcut key? We're in -applicationShouldTerminate: so the user *did* give a quit command. Just assume that the system did the right thing and match on the fact that we're processing a key down. Also do some cleanup of comments and names that are just wrong. BUG=142944 Change-Id: I797a97d3675e67e2426cc296e7c8642e08b91504 Reviewed-on: https://chromium-review.googlesource.com/c/1345030Reviewed-by:Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/master@{#610853}
Showing
Please register or sign in to comment