PContentPermissionRequest.ipdl 609 B

1234567891011121314151617181920212223242526272829
  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. include protocol PContent;
  5. include PContentPermission;
  6. namespace mozilla {
  7. namespace dom {
  8. protocol PContentPermissionRequest
  9. {
  10. manager PContent;
  11. parent:
  12. async prompt();
  13. async NotifyVisibility(bool visibility);
  14. async Destroy();
  15. child:
  16. async GetVisibility();
  17. async NotifyResult(bool allow, PermissionChoice[] choices);
  18. async __delete__();
  19. };
  20. } // namespace dom
  21. } // namespace mozilla