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

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

Issue 2038423002: Adding support for phone and email. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding support for phone and email. 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/PaymentOptions.idl
diff --git a/third_party/WebKit/Source/modules/payments/PaymentOptions.idl b/third_party/WebKit/Source/modules/payments/PaymentOptions.idl
index b6aac7e9fcb88e863d0a5f98b35cefb62aebd9a5..2dd9b3910935ac8b3d0441e30125b5df453c18dd 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentOptions.idl
+++ b/third_party/WebKit/Source/modules/payments/PaymentOptions.idl
@@ -2,10 +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#paymentoptions-dictionary
+// https://w3c.github.io/browser-payment-api/#paymentoptions-dictionary
[
RuntimeEnabled=PaymentRequest
] dictionary PaymentOptions {
+ boolean requestPayerEmail = false;
+ boolean requestPayerPhone = false;
boolean requestShipping = false;
};

Powered by Google App Engine
This is Rietveld 408576698