• Rose Garcia's avatar
    Connect custom menu order functions. · c10e0f1b
    Rose Garcia authored
    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: default avatarAkihiro Ota <akihiroota@chromium.org>
    Reviewed-by: default avatarAnastasia Helfinstein <anastasi@google.com>
    Commit-Queue: Rose Garcia <rosalindag@google.com>
    Cr-Commit-Position: refs/heads/master@{#691001}
    c10e0f1b
menu_panel.js 7.84 KB