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

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

Issue 2887713002: PaymentHandler: Merge PaymentAppRequest and PaymentRequestEvent. (Closed)
Patch Set: PaymentHandler: Merge PaymentAppRequest and PaymentRequestEvent. 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/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);
};

Powered by Google App Engine
This is Rietveld 408576698