Reland "[Autofill Assistant] Added ForEach interaction."
This is a reland of ae61a59a I reproduced the build failure and added the missing include. Original change's description: > [Autofill Assistant] Added ForEach interaction. > > Note: this is an alternative solution for http://crrev/c/2235698 > > This interaction executes a number of callbacks for the input loop value. This is intended to be used to inflate UI elements for client-only values, i.e., for values that the backend can't specify. > > Internally, ForEach loops are implemented by introducing the concept of callback contexts, which will change value and view lookup accordingly. > > In particular, callback contexts are used to automatically replace placeholders of the form ${i} in value and view identifiers (where 'i' is the loop identifier). This allows creating and referencing values and views with templated names, such as "created_view_${i}" and "value[${i}]". > > Bug: b/145043394 > Change-Id: I53089252fe1cc14b2b1fb74cfc56d7314bc4b37c > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2241975 > Commit-Queue: Clemens Arbesser <arbesser@google.com> > Reviewed-by: Sandro Maggi <sandromaggi@google.com> > Reviewed-by: Marian Fechete <marianfe@google.com> > Cr-Commit-Position: refs/heads/master@{#780785} Bug: b/145043394 Change-Id: I36b64f8d5a64f66f9e9081137a61a20c31ade8cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2259847Reviewed-by:Mathias Carlen <mcarlen@chromium.org> Commit-Queue: Clemens Arbesser <arbesser@google.com> Cr-Commit-Position: refs/heads/master@{#781253}
Showing
Please register or sign in to comment