tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

PContentPermissionRequest.ipdl (654B)


      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/. */
      4 
      5 include protocol PContent;
      6 include PContentPermission;
      7 
      8 include "nsContentPermissionHelper.h";
      9 
     10 namespace mozilla {
     11 namespace dom {
     12 
     13 [ManualDealloc, ChildImpl="RemotePermissionRequest", ParentImpl=virtual]
     14 protocol PContentPermissionRequest
     15 {
     16   manager PContent;
     17 
     18 parent:
     19   async prompt();
     20   async Destroy();
     21 
     22 child:
     23   async NotifyResult(bool allow, PermissionChoice[] choices);
     24   async __delete__();
     25 };
     26 
     27 
     28 } // namespace dom
     29 } // namespace mozilla