commit | 9b16b13725d360cc744495efd0e7e332b47a68c2 | [log] [tgz] |
---|---|---|
author | Christopher Cameron <ccameron@chromium.org> | Wed Dec 05 02:37:50 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Dec 05 02:37:50 2018 |
tree | cf0854e903dadfb026f43df37d74249d12f56957 | |
parent | 7f14c82f750ba735d6a61aa1986a7f041e568339 [diff] |
RemoteMacViews: Break performKeyEquivalent and commandDispatch over mojo This is another step towards supporting shortcut keys and menu interface items in PWAs. This breaks the following functions into a Cocoa component (for the PWA process) and a Chrome component (for the browser process): -[BrowserWindowCommandHandler commandDispatch] -[BrowserWindowCommandHandler commandDispatchUsingKeyModifiers] -[ChromeCommandDispatcherDelegate prePerformKeyEquivalent] -[ChromeCommandDispatcherDelegate postPerformKeyEquivalent] The common feature of all of these functions is that they end up calling chrome::ExecuteCommand. Add a mojo method to call chrome::ExecuteCommand and implement it for BrowserFrameMac. Bug: 895169 Change-Id: Iada42fc24544ca12b8867e54eb1549da9679f6a7 Reviewed-on: https://chromium-review.googlesource.com/c/1359137 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org> Cr-Commit-Position: refs/heads/master@{#613826}
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 .