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

Side by Side Diff: third_party/WebKit/Source/modules/payments/PaymentAddress.idl

Issue 2039863002: PaymentRequest: Sync up PaymentAddress with the payment request spec. (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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://w3c.github.io/browser-payment-api/specs/paymentrequest.html#paymentad dress-interface 5 // https://w3c.github.io/browser-payment-api/specs/paymentrequest.html#paymentad dress-interface
6 6
7 [ 7 [
8 RuntimeEnabled=PaymentRequest, 8 RuntimeEnabled=PaymentRequest,
9 ] interface PaymentAddress { 9 ] interface PaymentAddress {
10 readonly attribute DOMString regionCode; 10 readonly attribute DOMString country;
11 // TODO(zino): Should use FrozenArray<> instead of sequence<>.
12 // However, we can't use it in modules because current implementation
13 // causes link error. So, we use sequence<> instead for now.
14 // Please see: https://crbug.com/617919
11 readonly attribute sequence<DOMString> addressLine; 15 readonly attribute sequence<DOMString> addressLine;
zino 2016/06/07 12:27:53 When using FrozenArray type, link error occurs in
zino 2016/06/07 12:47:14 Sorry, I've just gotten lgtm from bash1@. (https:/
12 readonly attribute DOMString administrativeArea; 16 readonly attribute DOMString region;
13 readonly attribute DOMString locality; 17 readonly attribute DOMString city;
14 readonly attribute DOMString dependentLocality; 18 readonly attribute DOMString dependentLocality;
15 readonly attribute DOMString postalCode; 19 readonly attribute DOMString postalCode;
16 readonly attribute DOMString sortingCode; 20 readonly attribute DOMString sortingCode;
17 readonly attribute DOMString languageCode; 21 readonly attribute DOMString languageCode;
18 readonly attribute DOMString organization; 22 readonly attribute DOMString organization;
19 readonly attribute DOMString recipient; 23 readonly attribute DOMString recipient;
24 readonly attribute DOMString careOf;
25 readonly attribute DOMString phone;
20 }; 26 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698