2009-09-08 14:22:50 -07:00
|
|
|
/* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 8 -*- */
|
2012-05-21 04:12:37 -07: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/. */
|
|
|
|
|
2009-09-08 14:22:50 -07:00
|
|
|
|
2010-04-26 18:11:46 -07:00
|
|
|
include protocol PPluginInstance;
|
2009-09-08 14:22:50 -07:00
|
|
|
|
2009-12-03 00:16:14 -08:00
|
|
|
|
2013-10-01 12:25:07 -07:00
|
|
|
using NPReason from "npapi.h";
|
2009-12-03 00:16:14 -08:00
|
|
|
|
2009-09-08 14:22:50 -07:00
|
|
|
namespace mozilla {
|
|
|
|
namespace plugins {
|
|
|
|
|
2013-09-30 17:27:45 -07:00
|
|
|
intr protocol PStreamNotify
|
2009-09-08 14:22:50 -07:00
|
|
|
{
|
|
|
|
manager PPluginInstance;
|
2009-12-03 00:16:14 -08:00
|
|
|
|
2011-01-05 11:44:21 -08:00
|
|
|
parent:
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Represents NPN_URLRedirectResponse
|
|
|
|
*/
|
|
|
|
async RedirectNotifyResponse(bool allow);
|
|
|
|
|
2009-12-03 00:16:14 -08:00
|
|
|
child:
|
2011-01-05 11:44:21 -08:00
|
|
|
/**
|
|
|
|
* Represents NPP_URLRedirectNotify
|
|
|
|
*/
|
|
|
|
async RedirectNotify(nsCString url, int32_t status);
|
|
|
|
|
2009-12-03 00:16:14 -08:00
|
|
|
/**
|
|
|
|
* Represents NPP_URLNotify
|
|
|
|
*/
|
2010-03-06 13:03:05 -08:00
|
|
|
async __delete__(NPReason reason);
|
2009-09-08 14:22:50 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace plugins
|
|
|
|
} // namespace mozilla
|