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

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: Merge branch 'master' into billing 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 8aaf6f0cff2bf6028da8c87222ad6a7bcfaa8e20..e9be3ef76c25bd2fd2dd7ff0eef93cc2683fc4ef 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,13 +36,13 @@ 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);
~ShippingAddressEditorViewController() override;
// EditorViewController:
- std::unique_ptr<views::View> CreateHeaderView() override;
std::vector<EditorField> GetFieldDefinitions() override;
base::string16 GetInitialValueForType(
autofill::ServerFieldType type) override;
@@ -56,6 +56,7 @@ class ShippingAddressEditorViewController : public EditorViewController {
// PaymentRequestSheetController:
base::string16 GetSheetTitle() override;
+ std::unique_ptr<views::Button> CreatePrimaryButton() override;
private:
bool GetSheetId(DialogViewID* sheet_id) override;

Powered by Google App Engine
This is Rietveld 408576698