commit | b3bf64e2aa498d39ee246c7183dd7c1f17f5f3f6 | [log] [tgz] |
---|---|---|
author | Elly Fong-Jones <ellyjones@chromium.org> | Tue Nov 13 19:19:28 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 13 19:19:28 2018 |
tree | f95394b27a26e9f1b2965b0ab29265ad3ae9053d | |
parent | b903c3070dcb045d64722ef8d738d171e66bf241 [diff] |
views: close menus when accelerators are pressed on Mac This change: 1) Has MenuController consider command to be an accelerator key, along with control and alt, for the purpose of not searching for mnemonics; 2) Adds a Mac override of ViewsDelegate::ProcessAcceleratorWhileMenuShowing which tells the menu to close for an accelerator Bug: 885138 Change-Id: Iee9d9abb3b1bb3c2d346d7aaf7e532866b4ad26a Reviewed-on: https://chromium-review.googlesource.com/c/1334147 Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#607699}
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 .