| Index: chrome/browser/ui/views/payments/payment_request_sheet_controller.h
|
| diff --git a/chrome/browser/ui/views/payments/payment_request_sheet_controller.h b/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
|
| index d7229921361109b1d2738fa3939d80387c439c06..0cc142011da64edef36cc582ecc27cc998c3fe71 100644
|
| --- a/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
|
| +++ b/chrome/browser/ui/views/payments/payment_request_sheet_controller.h
|
| @@ -8,7 +8,7 @@
|
| #include <memory>
|
|
|
| #include "base/macros.h"
|
| -#include "ui/views/controls/button/vector_icon_button_delegate.h"
|
| +#include "ui/views/controls/button/image_button.h"
|
|
|
| namespace views {
|
| class Button;
|
| @@ -22,7 +22,7 @@ class PaymentRequest;
|
|
|
| // The base class for objects responsible for the creation and event handling in
|
| // views shown in the PaymentRequestDialog.
|
| -class PaymentRequestSheetController : public views::VectorIconButtonDelegate {
|
| +class PaymentRequestSheetController : public views::ImageButtonDelegate {
|
| public:
|
| // Objects of this class are owned by |dialog|, so it's a non-owned pointer
|
| // that should be valid throughout this object's lifetime.
|
| @@ -64,7 +64,7 @@ class PaymentRequestSheetController : public views::VectorIconButtonDelegate {
|
| // +---------------------------+
|
| virtual std::unique_ptr<views::View> CreateExtraFooterView();
|
|
|
| - // views::VectorIconButtonDelegate:
|
| + // views::ImageButtonDelegate:
|
| void ButtonPressed(views::Button* sender, const ui::Event& event) override;
|
|
|
| // Creates a view to be displayed in the PaymentRequestDialog.
|
|
|