2012-05-21 15:12:37 +04: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 22:06:52 +04:00
|
|
|
|
2015-04-14 04:08:00 +03:00
|
|
|
include protocol PContent;
|
2013-09-10 19:41:59 +04:00
|
|
|
include PContentPermission;
|
2010-05-13 22:06:52 +04:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
|
2010-09-10 09:00:08 +04:00
|
|
|
protocol PContentPermissionRequest
|
2010-05-13 22:06:52 +04:00
|
|
|
{
|
2015-04-14 04:08:00 +03:00
|
|
|
manager PContent;
|
2010-05-13 22:06:52 +04:00
|
|
|
|
|
|
|
parent:
|
2016-01-27 00:51:53 +03:00
|
|
|
async prompt();
|
|
|
|
async NotifyVisibility(bool visibility);
|
|
|
|
async Destroy();
|
2010-05-13 22:06:52 +04:00
|
|
|
|
|
|
|
child:
|
2016-01-27 00:51:53 +03:00
|
|
|
async GetVisibility();
|
|
|
|
async NotifyResult(bool allow, PermissionChoice[] choices);
|
|
|
|
async __delete__();
|
2010-05-13 22:06:52 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|