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

Unified Diff: chrome/browser/ui/views/payments/contact_info_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/contact_info_editor_view_controller.h
diff --git a/chrome/browser/ui/views/payments/contact_info_editor_view_controller.h b/chrome/browser/ui/views/payments/contact_info_editor_view_controller.h
index 3a94806673588b54a42895ba7836a6c15a3ebbf0..09649ce20b8a96e6aaec6a91c1422b0cbc027b38 100644
--- a/chrome/browser/ui/views/payments/contact_info_editor_view_controller.h
+++ b/chrome/browser/ui/views/payments/contact_info_editor_view_controller.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_UI_VIEWS_PAYMENTS_CONTACT_INFO_EDITOR_VIEW_CONTROLLER_H_
#include <memory>
+#include <string>
#include <vector>
#include "base/macros.h"
@@ -27,11 +28,14 @@ class ContactInfoEditorViewController : public EditorViewController {
ContactInfoEditorViewController(PaymentRequestSpec* spec,
PaymentRequestState* state,
PaymentRequestDialogView* dialog,
+ BackNavigationType back_navigation_type,
autofill::AutofillProfile* profile);
~ContactInfoEditorViewController() override;
// 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;

Powered by Google App Engine
This is Rietveld 408576698