Index: third_party/WebKit/Source/modules/payments/PaymentManager.idl |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentManager.idl b/third_party/WebKit/Source/modules/payments/PaymentManager.idl |
index 1f9d4dc3868fe6905b3e74bb1be86cb4cb63a8fb..7acdf762c4fd6190a72226ad2a8249d8965b2eab 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentManager.idl |
+++ b/third_party/WebKit/Source/modules/payments/PaymentManager.idl |
@@ -2,12 +2,14 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// https://w3c.github.io/webpayments-payment-apps-api/#idl-def-paymentappmanager |
+// https://w3c.github.io/payment-handler/#paymentmanager-interface |
[ |
RuntimeEnabled=PaymentApp, |
ConstructorCallWith=ExecutionContext, |
- DependentLifetime |
+ DependentLifetime, |
+ Exposed=(Window,Worker) |
] interface PaymentManager { |
readonly attribute PaymentInstruments instruments; |
+ [CallWith=ScriptState, Exposed=Window] Promise<PermissionState> requestPermission(); |
}; |