2012-05-21 11:12:37 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2010-05-13 18:06:52 +00:00
|
|
|
|
2015-04-14 01:08:00 +00:00
|
|
|
include protocol PContent;
|
2013-09-10 15:41:59 +00:00
|
|
|
include PContentPermission;
|
2010-05-13 18:06:52 +00:00
|
|
|
|
2022-02-09 17:29:46 +00:00
|
|
|
include "nsContentPermissionHelper.h";
|
|
|
|
|
2010-05-13 18:06:52 +00:00
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
|
2022-02-09 17:29:47 +00:00
|
|
|
[ManualDealloc, ChildImpl="RemotePermissionRequest", ParentImpl=virtual]
|
2010-09-10 05:00:08 +00:00
|
|
|
protocol PContentPermissionRequest
|
2010-05-13 18:06:52 +00:00
|
|
|
{
|
2015-04-14 01:08:00 +00:00
|
|
|
manager PContent;
|
2010-05-13 18:06:52 +00:00
|
|
|
|
|
|
|
parent:
|
2016-01-26 21:51:53 +00:00
|
|
|
async prompt();
|
|
|
|
async Destroy();
|
2010-05-13 18:06:52 +00:00
|
|
|
|
|
|
|
child:
|
2016-01-26 21:51:53 +00:00
|
|
|
async NotifyResult(bool allow, PermissionChoice[] choices);
|
|
|
|
async __delete__();
|
2010-05-13 18:06:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|