
Site permissions button can use the 'regular' HoverButton, and add the icon conditionally: - If extension is installed by enterprise: add business icon aligned to the left - If button is enabled: add arrow icon aligned to the right - Otherwise (button is disabled): don’t show icon For this we need to allow LabelButton to have an empty image model instead of defaulting to the normal state image. Screenshot: https://drive.google.com/file/d/1lksrqdtD4RzVaF-K3SnmvnsG8pqr_Px1/view?usp=sharing Bug: 326111337 Change-Id: I81e45c215c157fd8bce814197d4e7f3b404d7b1e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5378123 Commit-Queue: Emilia Paz <emiliapaz@chromium.org> Reviewed-by: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/main@{#1277836}
This directory contains UI frameworks used to build various user interface features. This directory is not intended to contain UI features (such as a keyboard).