
Shows the selected chip using the standard selected UI. The code was rebuilding a new set of chips each time the recycler view did a bind with the chip views. Now the same set of chips is used so the attributes like selected can persist. The chip support code in ChipsViewHolder had some logic to show a check icon whenever a chip is selected. We don't want that check icon. Now the code requires that an icon be present in order to convert to a check icon when selected. BUG=1210672 Change-Id: Ie94c5f23b3fcc83d7714ce8f61277ad611a38df6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2948104 Reviewed-by: Sinan Sahin <sinansahin@google.com> Commit-Queue: Donn Denman <donnd@chromium.org> Cr-Commit-Position: refs/heads/master@{#891461}
The org.chromium.components.browser_ui.widget package contains generally useful UI utilities with no feature-specific code or dependencies.