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

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: fix compile and tests 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..fbfd443145be57f8b2954f3d6622390ed1530e79 100644
--- a/chrome/browser/ui/views/payments/payment_request_row_view.h
+++ b/chrome/browser/ui/views/payments/payment_request_row_view.h
@@ -16,7 +16,9 @@ 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);
+ PaymentRequestRowView(views::ButtonListener* listener,
+ bool clickable,
+ const gfx::Insets& insets);
sky 2017/05/07 22:26:14 Document what insets is used for.
Bret 2017/05/09 22:03:09 Done.
~PaymentRequestRowView() override;
private:

Powered by Google App Engine
This is Rietveld 408576698