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

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

Issue 2849523003: Add billing address as a mandatory field of Payments credit cards. (Closed)
Patch Set: Components Unittests fix Created 3 years, 7 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.h
diff --git a/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.h b/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.h
index 3a2f8a92d6ab449277be9adf6c0a9afb412e1768..fa160c4c0b503dae7f1fb4e2533af8c82e212344 100644
--- a/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.h
+++ b/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.h
@@ -36,6 +36,7 @@ class ShippingAddressEditorViewController : public EditorViewController {
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);
@@ -43,6 +44,7 @@ class ShippingAddressEditorViewController : public EditorViewController {
// EditorViewController:
std::unique_ptr<views::View> CreateHeaderView() override;
+ std::unique_ptr<views::View> CreateCustomFieldsView() override;
std::vector<EditorField> GetFieldDefinitions() override;
base::string16 GetInitialValueForType(
autofill::ServerFieldType type) override;
@@ -56,6 +58,7 @@ class ShippingAddressEditorViewController : public EditorViewController {
// PaymentRequestSheetController:
base::string16 GetSheetTitle() override;
+ std::unique_ptr<views::Button> CreatePrimaryButton() override;
private:
class ShippingAddressValidationDelegate : public ValidationDelegate {

Powered by Google App Engine
This is Rietveld 408576698