Connect custom menu order functions.
Use the custom menu order functions to set the order of the buttons in the menu panel init function. The ability to set the button order is not user facing but can be done in remote debugging using the updatePositionAttributes_ function. Tested using emulated Chrome on Linux with flags --enable-experimental-accessibility-switch-access and --enable-experimental-accessibility-switch-access-text. Use of updateButtonOrder function does not impact the order or function of the menu. Button order can be manipulated manually using the updatePositionAttributes function. Bug: 994256 Change-Id: If76d9a48d74e738129d9e0788e03c599d6cf6e32 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1770432Reviewed-by:Akihiro Ota <akihiroota@chromium.org> Reviewed-by:
Anastasia Helfinstein <anastasi@google.com> Commit-Queue: Rose Garcia <rosalindag@google.com> Cr-Commit-Position: refs/heads/master@{#691001}
Showing
Please register or sign in to comment