[Autofill Assistant] Added optional output for ShowListPopup.
This allows ShowListPopup to optionally also write the names of the selected item(s), not just the indices. This is important for several reasons. First, it allows the generic_ui to directly use those names for other interactions, which currently is not possible because of the lack of an interaction which extracts values by index. Second, in many cases backend may not be interested in the selected indices at all. Matching indices back to items is tedious and unnecessary. Also moved the corresponding test from the CollectUserData action to the dedicated ShowGenericUi action. Bug: b/145043394 Change-Id: Iec9b3ff7ed00f2daba3fffbc125eba9b87741a23 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2093439Reviewed-by:Sandro Maggi <sandromaggi@google.com> Commit-Queue: Clemens Arbesser <arbesser@google.com> Cr-Commit-Position: refs/heads/master@{#749152}
Showing
This diff is collapsed.
Please register or sign in to comment