Chromium Code Reviews| Index: third_party/WebKit/Source/modules/payments/PaymentRequestEvent.idl |
| diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.idl b/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.idl |
| index 01cf8e54b8404316afce7d4f439f9a2b003f2d62..c37d7d695982de5f4857724472ddc4255ef26d8e 100644 |
| --- a/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.idl |
| +++ b/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.idl |
| @@ -8,6 +8,16 @@ |
| RuntimeEnabled=PaymentApp, |
| Exposed=ServiceWorker |
| ] interface PaymentRequestEvent : ExtendableEvent { |
| - readonly attribute PaymentAppRequest appRequest; |
| + readonly attribute DOMString topLevelOrigin; |
| + readonly attribute DOMString paymentRequestOrigin; |
| + readonly attribute DOMString paymentRequestId; |
| + readonly attribute sequence<PaymentMethodData> methodData; |
| + readonly attribute PaymentItem total; |
| + readonly attribute sequence<PaymentDetailsModifier> modifiers; |
| + readonly attribute DOMString instrumentKey; |
| + |
| + // TODO(gegerald): We should implement this function. |
|
please use gerrit instead
2017/05/22 14:20:05
gogerald
zino
2017/05/23 14:51:29
Done.
|
| + // Please see: http://crbug.com/720027 |
| + // Promise<WindowClient> openWindow(USVString url); |
| [CallWith=ScriptState, RaisesException] void respondWith(Promise<PaymentResponse> response); |
| }; |