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

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

Issue 2351533002: PaymentRequest: Add support for shipping type. (in blink side) (Closed)
Patch Set: PaymentRequest: Add support for shipping type. (in blink side) Created 4 years, 3 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/PaymentOptions.idl
diff --git a/third_party/WebKit/Source/modules/payments/PaymentOptions.idl b/third_party/WebKit/Source/modules/payments/PaymentOptions.idl
index 2dd9b3910935ac8b3d0441e30125b5df453c18dd..2cdbe0dc893c9eb46918991d15de86cf3613c9d4 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentOptions.idl
+++ b/third_party/WebKit/Source/modules/payments/PaymentOptions.idl
@@ -4,10 +4,17 @@
// https://w3c.github.io/browser-payment-api/#paymentoptions-dictionary
+enum PaymentShippingType {
+ "shipping",
+ "delivery",
+ "pickup"
+};
+
[
RuntimeEnabled=PaymentRequest
] dictionary PaymentOptions {
boolean requestPayerEmail = false;
boolean requestPayerPhone = false;
boolean requestShipping = false;
+ DOMString shippingType = "shipping";
};

Powered by Google App Engine
This is Rietveld 408576698