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

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

Issue 2668063003: [Web Payments] Add Cancel button to all sheets (Closed)
Patch Set: Rebase Created 3 years, 10 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/payment_method_view_controller.h
diff --git a/chrome/browser/ui/views/payments/payment_method_view_controller.h b/chrome/browser/ui/views/payments/payment_method_view_controller.h
index 10824c0401d1cfa3b7d10cb4c6de12deb83739bb..16b7285ca7c7555f5010b745017dc2a9257abc48 100644
--- a/chrome/browser/ui/views/payments/payment_method_view_controller.h
+++ b/chrome/browser/ui/views/payments/payment_method_view_controller.h
@@ -7,7 +7,6 @@
#include "base/macros.h"
#include "chrome/browser/ui/views/payments/payment_request_sheet_controller.h"
-#include "ui/views/controls/button/vector_icon_button_delegate.h"
namespace payments {
@@ -16,8 +15,7 @@ class PaymentRequestDialogView;
// The PaymentRequestSheetController subtype for the Payment Method screen of
// the Payment Request flow.
-class PaymentMethodViewController : public PaymentRequestSheetController,
- public views::VectorIconButtonDelegate {
+class PaymentMethodViewController : public PaymentRequestSheetController {
public:
// Does not take ownership of the arguments, which should outlive this object.
PaymentMethodViewController(PaymentRequest* request,
@@ -28,9 +26,6 @@ class PaymentMethodViewController : public PaymentRequestSheetController,
std::unique_ptr<views::View> CreateView() override;
private:
- // views::VectorIconButtonDelegate:
- void ButtonPressed(views::Button* sender, const ui::Event& event) override;
-
DISALLOW_COPY_AND_ASSIGN(PaymentMethodViewController);
};

Powered by Google App Engine
This is Rietveld 408576698