michael@0: /* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 8 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: michael@0: include protocol PPluginInstance; michael@0: michael@0: michael@0: using NPReason from "npapi.h"; michael@0: michael@0: namespace mozilla { michael@0: namespace plugins { michael@0: michael@0: intr protocol PStreamNotify michael@0: { michael@0: manager PPluginInstance; michael@0: michael@0: parent: michael@0: michael@0: /** michael@0: * Represents NPN_URLRedirectResponse michael@0: */ michael@0: async RedirectNotifyResponse(bool allow); michael@0: michael@0: child: michael@0: /** michael@0: * Represents NPP_URLRedirectNotify michael@0: */ michael@0: async RedirectNotify(nsCString url, int32_t status); michael@0: michael@0: /** michael@0: * Represents NPP_URLNotify michael@0: */ michael@0: async __delete__(NPReason reason); michael@0: }; michael@0: michael@0: } // namespace plugins michael@0: } // namespace mozilla