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

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

Issue 2709093006: Adding new shipping address editor view to payment flow. (Closed)
Patch Set: Bot failure fix 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 64f2a55d2e9b386578ff67a83e4937c523363c0b..1f9766e9b0e338c71329d3a65147e5691c303e8e 100644
--- a/chrome/browser/ui/views/payments/profile_list_view_controller.h
+++ b/chrome/browser/ui/views/payments/profile_list_view_controller.h
@@ -49,6 +49,8 @@ class ProfileListViewController : public PaymentRequestSheetController {
// 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;
// Returns a representation of the given profile appropriate for display
// in this context.
@@ -72,6 +74,12 @@ class ProfileListViewController : public PaymentRequestSheetController {
// Returns the string displayed at the top of the view.
virtual base::string16 GetHeaderString() = 0;
+ // Settings and events related to the secondary button in the footer area.
+ 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);
PaymentRequestItemList list_;

Powered by Google App Engine
This is Rietveld 408576698