[Autofill Assistant] Added support for implicit interactions.
Implicit interactions are interactions that are defined as part of a view definition, and not explicitly in the interactions. They are useful because they reduce the complexity of the proto. Furthermore, they allow the client to hide certain implementation details from the proto, as will be required in an upcoming change for radio buttons. As a first proof-of-concept, this CL changes how the text input view works. Before this CL, the model identifier in the proto was only used for the output of the view (i.e., java->native). The input of the view had to be explicitly defined via an interaction. Now, this is done implicitly, such that the text input view will effectively sync its contents with a specific model identifier (no explicit interaction necessary). Bug: b/145043394 Change-Id: Ibc506fbbd8d0a60927429638e41d3a8f4ee9934a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2120580 Commit-Queue: Clemens Arbesser <arbesser@google.com> Reviewed-by:Marian Fechete <marianfe@google.com> Cr-Commit-Position: refs/heads/master@{#753659}
Showing
Please register or sign in to comment