Index: third_party/WebKit/Source/modules/payments/PaymentRequestEvent.h |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.h b/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.h |
index b80f03a3f832b1674d56c88e83e9a5a8021f9082..591e008bc816b3848e0057a71709e28a09739f5a 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.h |
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequestEvent.h |
@@ -31,7 +31,14 @@ class MODULES_EXPORT PaymentRequestEvent final : public ExtendableEvent { |
const AtomicString& InterfaceName() const override; |
- void appRequest(PaymentAppRequest&) const; |
+ const String& topLevelOrigin() const; |
+ const String& paymentRequestOrigin() const; |
+ const String& paymentRequestId() const; |
+ const HeapVector<PaymentMethodData>& methodData() const; |
+ void total(PaymentItem& value) const; |
+ const HeapVector<PaymentDetailsModifier>& modifiers() const; |
+ const String& instrumentKey() const; |
+ |
void respondWith(ScriptState*, ScriptPromise, ExceptionState&); |
DECLARE_VIRTUAL_TRACE(); |
@@ -41,7 +48,15 @@ class MODULES_EXPORT PaymentRequestEvent final : public ExtendableEvent { |
const PaymentAppRequest&, |
RespondWithObserver*, |
WaitUntilObserver*); |
- PaymentAppRequest app_request_; |
+ |
+ String top_level_origin_; |
+ String payment_request_origin_; |
+ String payment_request_id_; |
+ HeapVector<PaymentMethodData> method_data_; |
+ PaymentItem total_; |
+ HeapVector<PaymentDetailsModifier> modifiers_; |
+ String instrument_key_; |
+ |
Member<RespondWithObserver> observer_; |
}; |