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
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
|
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:
|
|
|
|
prompt();
|
2015-04-14 01:08:00 +00:00
|
|
|
NotifyVisibility(bool visibility);
|
2015-11-09 00:55:08 +00:00
|
|
|
Destroy();
|
2010-05-13 18:06:52 +00:00
|
|
|
|
|
|
|
child:
|
2015-04-14 01:08:00 +00:00
|
|
|
GetVisibility();
|
2015-11-09 00:55:08 +00:00
|
|
|
NotifyResult(bool allow, PermissionChoice[] choices);
|
|
|
|
__delete__();
|
2010-05-13 18:06:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|