The section should initially display the last shipping option marked selected in the array passed from the website.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/8de8fe9639e0bf1e5c4dcc32cfb076e7d6eeca94 commit 8de8fe9639e0bf1e5c4dcc32cfb076e7d6eeca94 Author: anthonyvd <anthonyvd@chromium.org> Date: Thu Mar 09 20:55:08 2017 [Web Payments] Add the shipping method section to the payment sheet This change adds a shipping method section to the initial Payment Request dialog view. It's empty if no shipping method is selected, otherwise it displays the last entry marked selected in the Shipping Options array sent by the website. BUG= 700019 Review-Url: https://codereview.chromium.org/2744633002 Cr-Commit-Position: refs/heads/master@{#455860} [modify] https://crrev.com/8de8fe9639e0bf1e5c4dcc32cfb076e7d6eeca94/chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h [modify] https://crrev.com/8de8fe9639e0bf1e5c4dcc32cfb076e7d6eeca94/chrome/browser/ui/views/payments/payment_sheet_view_controller.cc [modify] https://crrev.com/8de8fe9639e0bf1e5c4dcc32cfb076e7d6eeca94/chrome/browser/ui/views/payments/payment_sheet_view_controller.h [modify] https://crrev.com/8de8fe9639e0bf1e5c4dcc32cfb076e7d6eeca94/components/payments/content/payment_request.cc [modify] https://crrev.com/8de8fe9639e0bf1e5c4dcc32cfb076e7d6eeca94/components/payments/content/payment_request.h
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/eca2ac57012fdecf632d09b6220d7e45112e2e20 commit eca2ac57012fdecf632d09b6220d7e45112e2e20 Author: anthonyvd <anthonyvd@chromium.org> Date: Wed Mar 15 00:28:02 2017 [Web Payments] Add the shipping options sheet. BUG= 700019 Review-Url: https://codereview.chromium.org/2747943004 Cr-Commit-Position: refs/heads/master@{#456913} [modify] https://crrev.com/eca2ac57012fdecf632d09b6220d7e45112e2e20/chrome/browser/ui/BUILD.gn [modify] https://crrev.com/eca2ac57012fdecf632d09b6220d7e45112e2e20/chrome/browser/ui/views/payments/payment_request_dialog_view.cc [modify] https://crrev.com/eca2ac57012fdecf632d09b6220d7e45112e2e20/chrome/browser/ui/views/payments/payment_request_dialog_view.h [modify] https://crrev.com/eca2ac57012fdecf632d09b6220d7e45112e2e20/chrome/browser/ui/views/payments/payment_request_views_util.cc [modify] https://crrev.com/eca2ac57012fdecf632d09b6220d7e45112e2e20/chrome/browser/ui/views/payments/payment_request_views_util.h [modify] https://crrev.com/eca2ac57012fdecf632d09b6220d7e45112e2e20/chrome/browser/ui/views/payments/payment_sheet_view_controller.cc [add] https://crrev.com/eca2ac57012fdecf632d09b6220d7e45112e2e20/chrome/browser/ui/views/payments/shipping_option_view_controller.cc [add] https://crrev.com/eca2ac57012fdecf632d09b6220d7e45112e2e20/chrome/browser/ui/views/payments/shipping_option_view_controller.h
Comment 1 by bugdroid1@chromium.org
, Mar 9 2017