-
Alexander Dunaev authored
The DBus Menu supports rendering keyboard shortcuts for its items, for which the 'shortcut' property should be set for the menu item. The shortcut is built from the key code using platform-specific conversions. This CL adds a platform interface that allows the DBus menu to query the platform for the key sym string for the given key code, and enables the menu shortcuts for Ozone X11. Bug: 1121908 Change-Id: I42828f967cc2c0eec24d86ba0e0ad0528435bb1e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2450192 Commit-Queue: Alexander Dunaev <adunaev@igalia.com> Reviewed-by:
Scott Violet <sky@chromium.org> Reviewed-by:
Maksim Sisov (GMT+3) <msisov@igalia.com> Reviewed-by:
Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#815611}
1cb7b440