2017-03-24 03:01:30 +03:00
|
|
|
/* vim: set ft=cpp: */
|
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-08-18 07:19:24 +04:00
|
|
|
|
2017-03-24 03:01:30 +03:00
|
|
|
include protocol PBrowser;
|
2010-09-16 02:55:08 +04:00
|
|
|
include protocol PContent;
|
2014-03-12 02:41:48 +04:00
|
|
|
include protocol PChannelDiverter;
|
2010-08-18 07:19:24 +04:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
|
|
|
|
protocol PExternalHelperApp
|
|
|
|
{
|
2010-09-16 02:55:08 +04:00
|
|
|
manager PContent;
|
2010-08-18 07:19:24 +04:00
|
|
|
|
|
|
|
parent:
|
2017-03-24 03:01:30 +03:00
|
|
|
async OnStartRequest(nsCString entityID, PBrowser windowContext);
|
2016-01-27 00:51:53 +03:00
|
|
|
async OnDataAvailable(nsCString data, uint64_t offset, uint32_t count);
|
|
|
|
async OnStopRequest(nsresult code);
|
2010-08-18 07:19:24 +04:00
|
|
|
|
2017-03-24 03:01:30 +03:00
|
|
|
async DivertToParentUsing(PChannelDiverter diverter, PBrowser windowContext);
|
2014-03-12 02:41:48 +04:00
|
|
|
|
2010-08-18 07:19:24 +04:00
|
|
|
child:
|
2016-01-27 00:51:53 +03:00
|
|
|
async Cancel(nsresult aStatus);
|
|
|
|
async __delete__();
|
2010-08-18 07:19:24 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|