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

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

Issue 2747943004: [Web Payments] Add the shipping options sheet. (Closed)
Patch Set: Address comments. 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_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 c7cfbc6444559f3102aa5a2811313ac5d0f91d13..69aad15fc04d8af4815e0fc1e3314dc972c2fc1e 100644
--- a/chrome/browser/ui/views/payments/payment_request_views_util.h
+++ b/chrome/browser/ui/views/payments/payment_request_views_util.h
@@ -94,6 +94,10 @@ base::string16 GetShippingAddressSectionString(
base::string16 GetShippingOptionSectionString(
payments::mojom::PaymentShippingType shipping_type);
+std::unique_ptr<views::View> CreateShippingOptionLabel(
+ payments::mojom::PaymentShippingOption* shipping_option,
+ const base::string16& formatted_amount);
+
} // namespace payments
#endif // CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_VIEWS_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698