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

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

Issue 2744463002: Add VectorIconButton functionality to ImageButton. (Closed)
Patch Set: fix cros build 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/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.

Powered by Google App Engine
This is Rietveld 408576698