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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentDetailsModifier.idl

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
Index: third_party/WebKit/Source/modules/payments/PaymentDetailsModifier.idl
diff --git a/third_party/WebKit/Source/modules/payments/PaymentMethodData.idl b/third_party/WebKit/Source/modules/payments/PaymentDetailsModifier.idl
similarity index 57%
copy from third_party/WebKit/Source/modules/payments/PaymentMethodData.idl
copy to third_party/WebKit/Source/modules/payments/PaymentDetailsModifier.idl
index 059a02516af778a240bbbbd0ccefbc4d939c14ba..84d36db0d5685dd7c827a716150b21e27af0c90e 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentMethodData.idl
+++ b/third_party/WebKit/Source/modules/payments/PaymentDetailsModifier.idl
@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// https://w3c.github.io/browser-payment-api/specs/paymentrequest.html#idl-def-paymentmethoddata
+// https://w3c.github.io/browser-payment-api/#idl-def-paymentdetailsmodifier
[
RuntimeEnabled=PaymentRequest
-] dictionary PaymentMethodData {
+] dictionary PaymentDetailsModifier {
required sequence<DOMString> supportedMethods;
- object data;
+ PaymentItem total;
+ sequence<PaymentItem> additionalDisplayItems;
};

Powered by Google App Engine
This is Rietveld 408576698