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

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

Issue 2759253002: [Web Payments] Implement item selection in lists. (Closed)
Patch Set: Assert back navigation in browser tests. Created 3 years, 9 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 d76db713a9378cfcfcef0ac853d07eee18ddae60..64f2a55d2e9b386578ff67a83e4937c523363c0b 100644
--- a/chrome/browser/ui/views/payments/profile_list_view_controller.h
+++ b/chrome/browser/ui/views/payments/profile_list_view_controller.h
@@ -55,6 +55,10 @@ class ProfileListViewController : public PaymentRequestSheetController {
virtual std::unique_ptr<views::View> GetLabel(
autofill::AutofillProfile* profile) = 0;
+ virtual void SelectProfile(autofill::AutofillProfile* profile) = 0;
+
+ virtual autofill::AutofillProfile* GetSelectedProfile() = 0;
+
protected:
// Does not take ownership of the arguments, which should outlive this object.
ProfileListViewController(PaymentRequestSpec* spec,

Powered by Google App Engine
This is Rietveld 408576698