commit | c93c3dca594c13251590042f228f8a1029eca985 | [log] [tgz] |
---|---|---|
author | erikchen <erikchen@chromium.org> | Wed Jul 11 17:24:50 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jul 11 17:24:50 2018 |
tree | 353e964725a2844bc1b063538436884bc6285e38 | |
parent | a9ae38f065149aeff4c20ffabc362ecfa3a2b0ad [diff] |
macOS: Display [ctr + tab] and [ctr + shift + tab] as hotkeys for tab switching. This matches other macOS application like Safari, Terminal, etc. All existing hotkeys will still work. This CL uses the same hotkey for "previous tab" that Safari and Terminal use, which is [ctr + shift + "Horizontal Tab"]. This also causes tests to pass. However, pressing that key combination actually generates [ctr + shift + "End of Medium"], which renderers in the Main Menu as a backwards tab. This CL updates NSMenuItem(ChromeAdditions) to check for this special case. This CL removes two incorrect DCHECKs from render_widget_host_view_cocoa.mm. I regularly hit both of them when running Chromium on a local build. They both rely on the false assumption that keyEquivalents in the main menu must have the command modifier. Bug: 851714 Change-Id: I90c643870f9bc7dd87369496eec9ab62a1685e07 Reviewed-on: https://chromium-review.googlesource.com/1106659 Commit-Queue: Erik Chen <erikchen@chromium.org> Reviewed-by: Alexei Svitkine <asvitkine@chromium.org> Reviewed-by: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#574211}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .