[ozone] Added propagation of the key event modifiers.
The menus should show mnemonics if Alt is pressed. This did not work in Ozone because the platform didn't expose the current status of control keys (which is delivered with input events as so called modifiers). This CL introduces a new method that returns the current state of modifier keys from the platform, and allows the menu mnemonics for two Ozone platforms. In addition, one unit tests of the menu controller has been enabled for all platforms where Aura is available. Bug: 1085700, 1113086 Change-Id: Ie2857c763d325f85c7f464e69cc22a18bcbf6f61 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2333833Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Maksim Sisov (GMT+3) <msisov@igalia.com> Commit-Queue: Alexander Dunaev <adunaev@igalia.com> Cr-Commit-Position: refs/heads/master@{#797578}
Showing
Please register or sign in to comment