Bug 1861467 - [wpt-sync] Update web-platform-tests to eedf737ce39c512d0ca3471f988972e...
[gecko.git] / dom / ipc / PContentPermissionRequest.ipdl
blob0ce5acbe959be1d8183e802606af69edb8d3ecff
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 include protocol PContent;
6 include PContentPermission;
8 include "nsContentPermissionHelper.h";
10 namespace mozilla {
11 namespace dom {
13 [ManualDealloc, ChildImpl="RemotePermissionRequest", ParentImpl=virtual]
14 protocol PContentPermissionRequest
16   manager PContent;
18 parent:
19   async prompt();
20   async Destroy();
22 child:
23   async NotifyResult(bool allow, PermissionChoice[] choices);
24   async __delete__();
28 } // namespace dom
29 } // namespace mozilla