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

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

Issue 2768133002: [Web Payments] Refactor sheet display to allow updating view content (Closed)
Patch Set: Add comments. 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 1f9766e9b0e338c71329d3a65147e5691c303e8e..1bf24c92050f0a5902f7f68e17973ba8586dff5d 100644
--- a/chrome/browser/ui/views/payments/profile_list_view_controller.h
+++ b/chrome/browser/ui/views/payments/profile_list_view_controller.h
@@ -48,7 +48,6 @@ class ProfileListViewController : public PaymentRequestSheetController {
PaymentRequestDialogView* dialog);
// PaymentRequestSheetController:
- std::unique_ptr<views::View> CreateView() override;
std::unique_ptr<views::View> CreateExtraFooterView() override;
void ButtonPressed(views::Button* sender, const ui::Event& event) override;
@@ -71,8 +70,10 @@ class ProfileListViewController : public PaymentRequestSheetController {
// in this context.
virtual std::vector<autofill::AutofillProfile*> GetProfiles() = 0;
- // Returns the string displayed at the top of the view.
- virtual base::string16 GetHeaderString() = 0;
+ void PopulateList();
+
+ // PaymentRequestSheetController:
+ void FillContentView(views::View* content_view) override;
// Settings and events related to the secondary button in the footer area.
virtual int GetSecondaryButtonTextId() = 0;

Powered by Google App Engine
This is Rietveld 408576698