gecko-dev/dom/ipc/PContentPermissionRequest.ipdl

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
654 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
include "nsContentPermissionHelper.h";
2010-05-13 18:06:52 +00:00
namespace mozilla {
namespace dom {
[ManualDealloc, ChildImpl="RemotePermissionRequest", ParentImpl=virtual]
protocol PContentPermissionRequest
2010-05-13 18:06:52 +00:00
{
manager PContent;
2010-05-13 18:06:52 +00:00
parent:
async prompt();
async Destroy();
2010-05-13 18:06:52 +00:00
child:
async NotifyResult(bool allow, PermissionChoice[] choices);
async __delete__();
2010-05-13 18:06:52 +00:00
};
} // namespace dom
} // namespace mozilla