[Payment Request] Contact info selection

Desktop / Chromium - mahmadi [chromium.org] - 6 June 2017 15:48 EDT

Sets up the contact info selection coordinator/mediator + unit tests. Allows the user to select a contact info from the payment summary page.

http://imgur.com/a/4gaeY

BUG=602666

Review-Url: https://codereview.chromium.org/2920113002 Cr-Commit-Position: refs/heads/master@{#477379}

76d0d50 [Payment Request] Contact info selection
ios/chrome/browser/ui/payments/BUILD.gn | 6 +
.../billing_address_selection_coordinator.mm | 3 -
.../payments/billing_address_selection_mediator.mm | 2 -
.../payments/contact_info_selection_coordinator.h | 54 ++++++++
.../payments/contact_info_selection_coordinator.mm | 110 +++++++++++++++
.../contact_info_selection_coordinator_unittest.mm | 151 +++++++++++++++++++++
.../ui/payments/contact_info_selection_mediator.h | 29 ++++
.../ui/payments/contact_info_selection_mediator.mm | 100 ++++++++++++++
.../contact_info_selection_mediator_unittest.mm | 124 +++++++++++++++++
.../ui/payments/payment_request_coordinator.h | 4 +-
.../ui/payments/payment_request_coordinator.mm | 32 +++++
.../ui/payments/payment_request_view_controller.h | 7 +
.../ui/payments/payment_request_view_controller.mm | 10 +-
13 files changed, 625 insertions(+), 7 deletions(-)

Upstream: git.chromium.org


  • Share