[omnibox] Make ToggleImageButton support accessible names
Currently, ToggleImageButton relies on the tooltip text to provide the accessible name. In some circumstances, we want a more explanatory AX name than the tooltip text, and this is supported by the base Button class. This CL expands ToggleImageButton to support a different AX name than the tooltip text, in both toggled and untoggled states. Bug: 1099788 Change-Id: Icfdcaac4ba50ba233e33663df74a0c32680bce07 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2292724 Auto-Submit: Tommy Li <tommycli@chromium.org> Reviewed-by:Allen Bauer <kylixrd@chromium.org> Commit-Queue: Tommy Li <tommycli@chromium.org> Cr-Commit-Position: refs/heads/master@{#788644}
Showing
Please register or sign in to comment