Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(703)

Unified Diff: chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc

Issue 2849523003: Add billing address as a mandatory field of Payments credit cards. (Closed)
Patch Set: Added AddressComboboxModel unittests and fixed more compile issues. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc
diff --git a/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc b/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc
index 19d1039e56b570569606fe7eda6a4c8d3f415f1c..7fd20a21a741e1973f1eb47e9a68a0ba2ea91376 100644
--- a/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc
+++ b/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc
@@ -68,10 +68,11 @@ ShippingAddressEditorViewController::ShippingAddressEditorViewController(
PaymentRequestSpec* spec,
PaymentRequestState* state,
PaymentRequestDialogView* dialog,
+ BackNavigationType back_navigation_type,
base::OnceClosure on_edited,
base::OnceCallback<void(const autofill::AutofillProfile&)> on_added,
autofill::AutofillProfile* profile)
- : EditorViewController(spec, state, dialog),
+ : EditorViewController(spec, state, dialog, back_navigation_type),
on_edited_(std::move(on_edited)),
on_added_(std::move(on_added)),
profile_to_edit_(profile),
@@ -87,6 +88,11 @@ ShippingAddressEditorViewController::CreateHeaderView() {
return base::MakeUnique<views::View>();
}
+std::unique_ptr<views::View>
+ShippingAddressEditorViewController::CreateCustomFieldsView() {
+ return base::MakeUnique<views::View>();
+}
+
std::vector<EditorField>
ShippingAddressEditorViewController::GetFieldDefinitions() {
return editor_fields_;

Powered by Google App Engine
This is Rietveld 408576698