Chromium Code Reviews| Index: chrome/browser/ui/views/payments/payment_request_views_util.h |
| diff --git a/chrome/browser/ui/views/payments/payment_request_views_util.h b/chrome/browser/ui/views/payments/payment_request_views_util.h |
| index 1e6c1b32c588bd784763bc7b4029921cd21657d1..37dd38b95f92a6a022170bf3bf02a7efc81ff7ad 100644 |
| --- a/chrome/browser/ui/views/payments/payment_request_views_util.h |
| +++ b/chrome/browser/ui/views/payments/payment_request_views_util.h |
| @@ -11,6 +11,7 @@ |
| #include "base/strings/string16.h" |
| #include "components/payments/mojom/payment_request.mojom.h" |
| #include "third_party/skia/include/core/SkColor.h" |
| +#include "ui/gfx/geometry/insets.h" |
| namespace autofill { |
| class AutofillProfile; |
| @@ -115,7 +116,9 @@ std::unique_ptr<views::View> GetContactInfoLabel( |
| // Creates a views::Border object that can paint the gray horizontal ruler used |
| // as a separator between items in the Payment Request dialog. |
| -std::unique_ptr<views::Border> CreatePaymentRequestRowBorder(SkColor color); |
| +std::unique_ptr<views::Border> CreatePaymentRequestRowBorder( |
| + SkColor color, |
| + const gfx::Insets& insets = gfx::Insets()); |
|
sky
2017/05/07 22:26:14
Document insets.
Bret
2017/05/09 22:03:09
Done. Also removed the default insets because I no
|
| // Creates a label with a bold font. |
| std::unique_ptr<views::Label> CreateBoldLabel(const base::string16& text); |