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

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

Issue 2887713002: PaymentHandler: Merge PaymentAppRequest and PaymentRequestEvent. (Closed)
Patch Set: rebase Created 3 years, 7 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/PaymentAppRequest.idl
diff --git a/third_party/WebKit/Source/modules/payments/PaymentAppRequest.idl b/third_party/WebKit/Source/modules/payments/PaymentAppRequest.idl
index 4cb6aaf0f9f72d57841aadf636947ff982f1248f..57cff55464b41c35b67fa012d15f61f306b9a5af 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentAppRequest.idl
+++ b/third_party/WebKit/Source/modules/payments/PaymentAppRequest.idl
@@ -4,10 +4,14 @@
// https://w3c.github.io/webpayments-payment-apps-api/#idl-def-paymentapprequest
+// TODO(zino): Once the spec issue is resolved, we should apply the changes.
+// Please see https://github.com/w3c/payment-handler/pull/162
dictionary PaymentAppRequest {
- DOMString origin;
+ DOMString topLevelOrigin;
+ DOMString paymentRequestOrigin;
+ DOMString paymentRequestId;
sequence<PaymentMethodData> methodData;
PaymentItem total;
sequence<PaymentDetailsModifier> modifiers;
- DOMString optionId;
+ DOMString instrumentKey;
};

Powered by Google App Engine
This is Rietveld 408576698