| 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_;
|
|
|