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

Unified Diff: chrome/browser/ui/views/payments/profile_list_view_controller.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/profile_list_view_controller.h
diff --git a/chrome/browser/ui/views/payments/profile_list_view_controller.h b/chrome/browser/ui/views/payments/profile_list_view_controller.h
index 56c66f236a0a0a6baf0e15b65fb35bdea6206dee..7e1af22e9233a1340406a004277d6d40ec1db101 100644
--- a/chrome/browser/ui/views/payments/profile_list_view_controller.h
+++ b/chrome/browser/ui/views/payments/profile_list_view_controller.h
@@ -59,6 +59,10 @@ class ProfileListViewController : public PaymentRequestSheetController {
virtual void SelectProfile(autofill::AutofillProfile* profile) = 0;
+ // Shows an editor for modifying |profile|, or for creating a new profile
+ // if |profile| is null.
+ virtual void ShowEditor(autofill::AutofillProfile* profile) = 0;
+
virtual autofill::AutofillProfile* GetSelectedProfile() = 0;
protected:
@@ -82,7 +86,6 @@ class ProfileListViewController : public PaymentRequestSheetController {
virtual int GetSecondaryButtonTextId() = 0;
virtual int GetSecondaryButtonTag() = 0;
virtual int GetSecondaryButtonViewId() = 0;
- virtual void OnSecondaryButtonPressed() = 0;
private:
std::unique_ptr<views::Button> CreateRow(autofill::AutofillProfile* profile);

Powered by Google App Engine
This is Rietveld 408576698