[Autofill Assistant] Fork more of the payment request UI.
Before this change we only had a fork of the payment request logic, not
the UI underneath. This makes customizing the UI tricky without exposing larger
parts of the Payment Request UI to Autofill Assisatnt.
This patch tries to fork the PaymentRequestUI in a non invasive way. This
includes the java classes and the corresponding xml. We accept the potential
of being broken by changes in payments/ to non-forked parts and will fix that
on the Autofill Assistant side as needed and merge back later if that makes
sense.
As an example of how to customize the UI on the Autofill Assistant side, this
patch includes a customized PaymentRequestBottomBar (java and xml). The buttons
need more styling, which will be done in an upcoming change.
R=gogerald@chromium.org, twellington@chromium.org
another use case. It should go away once we refactor the existing API
and share more code.
Binary-Size: Increase is temporary due to a payment request UI reuse for
Bug: 806868
Change-Id: Iec801cc7d667e39c58e3604c0f62ea8289e90a1e
Reviewed-on: https://chromium-review.googlesource.com/c/1316730
Commit-Queue: Mathias Carlen <mcarlen@chromium.org>
Reviewed-by:
Theresa <twellington@chromium.org>
Reviewed-by:
Ganggui Tang <gogerald@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606401}
Showing
This diff is collapsed.
Please register or sign in to comment