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 8c9232100c3d849f0d91403fef3fada4a56e7457..ef9cadf10682634e1a6b0a9d404e67807a2cb3b0 100644 |
--- a/chrome/browser/ui/views/payments/payment_request_views_util.h |
+++ b/chrome/browser/ui/views/payments/payment_request_views_util.h |
@@ -125,6 +125,11 @@ std::unique_ptr<views::Border> CreatePaymentRequestRowBorder( |
// Creates a label with a bold font. |
std::unique_ptr<views::Label> CreateBoldLabel(const base::string16& text); |
+// Creates a label with a medium-weight font, with appropriate fallbacks for |
+// platforms that have no medium font, or where a user has configured their |
+// default font with a heavier weight. |
+std::unique_ptr<views::Label> CreateMediumLabel(const base::string16& text); |
+ |
// Creates a 2 line label containing |shipping_option|'s label and amount. If |
// |emphasize_label| is true, the label part will be in medium weight. |
std::unique_ptr<views::View> CreateShippingOptionLabel( |