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

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

Issue 2859193004: Remove GridLayout::SetInsets in favor of an empty border on the host. (Closed)
Patch Set: missed a merge problem Created 3 years, 7 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_row_view.h
diff --git a/chrome/browser/ui/views/payments/payment_request_row_view.h b/chrome/browser/ui/views/payments/payment_request_row_view.h
index 7968f942c74375081364a37e7cb7043db931edab..c9e3d4ab8335b1795c3a2b9c494ea5fe0529f803 100644
--- a/chrome/browser/ui/views/payments/payment_request_row_view.h
+++ b/chrome/browser/ui/views/payments/payment_request_row_view.h
@@ -15,8 +15,10 @@ namespace payments {
class PaymentRequestRowView : public views::CustomButton {
public:
// Creates a row view. If |clickable| is true, the row will be shaded on hover
- // and handle click events.
- PaymentRequestRowView(views::ButtonListener* listener, bool clickable);
+ // and handle click events. |insets| are used as padding around the content.
+ PaymentRequestRowView(views::ButtonListener* listener,
+ bool clickable,
+ const gfx::Insets& insets);
~PaymentRequestRowView() override;
private:

Powered by Google App Engine
This is Rietveld 408576698