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

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

Issue 2020883002: PaymentRequest: Introduce PaymentMethodData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/PaymentMethodData.idl
diff --git a/third_party/WebKit/Source/modules/payments/CurrencyAmount.idl b/third_party/WebKit/Source/modules/payments/PaymentMethodData.idl
similarity index 66%
copy from third_party/WebKit/Source/modules/payments/CurrencyAmount.idl
copy to third_party/WebKit/Source/modules/payments/PaymentMethodData.idl
index a92763be651fe5c14dff89bb317161b7efaf4471..059a02516af778a240bbbbd0ccefbc4d939c14ba 100644
--- a/third_party/WebKit/Source/modules/payments/CurrencyAmount.idl
+++ b/third_party/WebKit/Source/modules/payments/PaymentMethodData.idl
@@ -2,11 +2,11 @@
// 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#currencyamount
+// https://w3c.github.io/browser-payment-api/specs/paymentrequest.html#idl-def-paymentmethoddata
[
RuntimeEnabled=PaymentRequest
-] dictionary CurrencyAmount {
- required DOMString currency;
- required DOMString value;
+] dictionary PaymentMethodData {
+ required sequence<DOMString> supportedMethods;
+ object data;
};

Powered by Google App Engine
This is Rietveld 408576698