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

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

Issue 2816083002: [WebPayments] Desktop implementation of Contact Editor (Closed)
Patch Set: rebase 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/payment_request_dialog_view.h
diff --git a/chrome/browser/ui/views/payments/payment_request_dialog_view.h b/chrome/browser/ui/views/payments/payment_request_dialog_view.h
index 8273990318021bf9a820997409faad4bb745cc10..d45bde29295070f778f7f51ba466c3dace6eab65 100644
--- a/chrome/browser/ui/views/payments/payment_request_dialog_view.h
+++ b/chrome/browser/ui/views/payments/payment_request_dialog_view.h
@@ -57,6 +57,8 @@ class PaymentRequestDialogView : public views::DialogDelegateView,
virtual void OnShippingAddressEditorOpened() = 0;
+ virtual void OnContactInfoEditorOpened() = 0;
+
virtual void OnBackNavigation() = 0;
virtual void OnBackToPaymentSheetNavigation() = 0;
@@ -111,6 +113,8 @@ class PaymentRequestDialogView : public views::DialogDelegateView,
autofill::CreditCard* credit_card = nullptr);
// |profile| is the address to be edited, or nullptr for adding an address.
void ShowShippingAddressEditor(autofill::AutofillProfile* profile = nullptr);
+ // |profile| is the profile to be edited, or nullptr for adding a profile.
+ void ShowContactInfoEditor(autofill::AutofillProfile* profile = nullptr);
void EditorViewUpdated();
void ShowCvcUnmaskPrompt(

Powered by Google App Engine
This is Rietveld 408576698