[Autofill Assistant] Refactor AssistantChip creation to allow reuse.
Before this CL, AssistantChips were always directly bound to methods in the UiController. Now, their creation is abstracted such that they can be bound to other callbacks and reused in other contexts. Bug: b/171776026 Change-Id: I4b18f04f106c563332e3951733b75a279ce9647a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2524526 Commit-Queue: Clemens Arbesser <arbesser@google.com> Reviewed-by:Sandro Maggi <sandromaggi@google.com> Cr-Commit-Position: refs/heads/master@{#826221}
Showing
Please register or sign in to comment