gecko-dev/dom/ipc/PContentPermissionRequest.ipdl

29 lines
573 B
Plaintext
Raw Normal View History

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
include protocol PContent;
include PContentPermission;
2010-05-13 18:06:52 +00:00
namespace mozilla {
namespace dom {
protocol PContentPermissionRequest
2010-05-13 18:06:52 +00:00
{
manager PContent;
2010-05-13 18:06:52 +00:00
parent:
prompt();
NotifyVisibility(bool visibility);
Destroy();
2010-05-13 18:06:52 +00:00
child:
GetVisibility();
NotifyResult(bool allow, PermissionChoice[] choices);
__delete__();
2010-05-13 18:06:52 +00:00
};
} // namespace dom
} // namespace mozilla