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

Unified Diff: third_party/WebKit/public/platform/modules/payments/payment_request.mojom

Issue 2101463002: PaymentRequest: Implement PaymentDetailsModifier dictionary (in blink side). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 4 years, 6 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
« no previous file with comments | « third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/payments/payment_request.mojom
diff --git a/third_party/WebKit/public/platform/modules/payments/payment_request.mojom b/third_party/WebKit/public/platform/modules/payments/payment_request.mojom
index 15b466d3868541a7ba1ee92be13f27dbbc62da59..6a113f58e5ae63da1b2465db1ed0ffd6fb6ca470 100644
--- a/third_party/WebKit/public/platform/modules/payments/payment_request.mojom
+++ b/third_party/WebKit/public/platform/modules/payments/payment_request.mojom
@@ -84,10 +84,17 @@ struct PaymentShippingOption {
bool selected;
};
+struct PaymentDetailsModifier {
+ array<string> supported_methods;
+ PaymentItem total;
+ array<PaymentItem> additional_display_items;
+};
+
struct PaymentDetails {
PaymentItem total;
array<PaymentItem> display_items;
array<PaymentShippingOption> shipping_options;
+ array<PaymentDetailsModifier> modifiers;
};
struct PaymentOptions {
« no previous file with comments | « third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698