#include <PluginModuleChild.h>
Collaboration diagram for mozilla::plugins::PluginModuleChild:Classes | |
| struct | NPObjectData |
Public Types | |
| enum | PluginQuirks { QUIRKS_NOT_INITIALIZED = 0, QUIRK_SILVERLIGHT_DEFAULT_TRANSPARENT = 1 << 0, QUIRK_WINLESS_TRACKPOPUP_HOOK = 1 << 1, QUIRK_FLASH_THROTTLE_WMUSER_EVENTS = 1 << 2, QUIRK_FLASH_HOOK_SETLONGPTR = 1 << 3, QUIRK_FLASH_EXPOSE_COORD_TRANSLATION = 1 << 4, QUIRK_FLASH_HOOK_GETWINDOWINFO = 1 << 5, QUIRK_FLASH_MASK_CLEARTYPE_SETTINGS = 1 << 6 } |
Public Member Functions | |
| PluginModuleChild () | |
| virtual | ~PluginModuleChild () |
| bool | Init (const std::string &aPluginFilename, base::ProcessHandle aParentProcessHandle, MessageLoop *aIOLoop, IPC::Channel *aChannel) |
| void | CleanUp () |
| const char * | GetUserAgent () |
| bool | RegisterActorForNPObject (NPObject *aObject, PluginScriptableObjectChild *aActor) |
| void | UnregisterActorForNPObject (NPObject *aObject) |
| PluginScriptableObjectChild * | GetActorForNPObject (NPObject *aObject) |
| int | GetQuirks () |
| void | AddQuirk (PluginQuirks quirk) |
| NPError | NPP_Destroy (PluginInstanceChild *instance) |
| void | FindNPObjectsForInstance (PluginInstanceChild *instance) |
| Fill PluginInstanceChild.mDeletingHash with all the remaining NPObjects associated with that instance. | |
Static Public Member Functions | |
| static PluginModuleChild * | current () |
| static NPObject * | NPN_CreateObject (NPP aNPP, NPClass *aClass) |
| The child implementation of NPN_CreateObject. | |
| static NPObject * | NPN_RetainObject (NPObject *aNPObj) |
| The child implementation of NPN_RetainObject. | |
| static void | NPN_ReleaseObject (NPObject *aNPObj) |
| The child implementation of NPN_ReleaseObject. | |
| static NPIdentifier | NPN_GetStringIdentifier (const NPUTF8 *aName) |
| The child implementations of NPIdentifier-related functions. | |
| static void | NPN_GetStringIdentifiers (const NPUTF8 **aNames, int32_t aNameCount, NPIdentifier *aIdentifiers) |
| static NPIdentifier | NPN_GetIntIdentifier (int32_t aIntId) |
| static bool | NPN_IdentifierIsString (NPIdentifier aIdentifier) |
| static NPUTF8 * | NPN_UTF8FromIdentifier (NPIdentifier aIdentifier) |
| static int32_t | NPN_IntFromIdentifier (NPIdentifier aIdentifier) |
| static void | DeallocNPObject (NPObject *o) |
| Dealloc an NPObject after last-release or when the associated instance is destroyed. | |
Static Public Attributes | |
| static const NPNetscapeFuncs | sBrowserFuncs |
Protected Member Functions | |
| virtual mozilla::ipc::RPCChannel::RacyRPCPolicy | MediateRPCRace (const Message &parent, const Message &child) |
| virtual bool | AnswerNP_GetEntryPoints (NPError *rv) |
| virtual bool | AnswerNP_Initialize (NativeThreadId *tid, NPError *rv) |
| virtual PPluginIdentifierChild * | AllocPPluginIdentifier (const nsCString_external &aString, const int32_t &aInt) |
| virtual bool | DeallocPPluginIdentifier (PPluginIdentifierChild *aActor) |
| virtual PPluginInstanceChild * | AllocPPluginInstance (const nsCString_external &aMimeType, const uint16_t &aMode, const InfallibleTArray< nsCString_external > &aNames, const InfallibleTArray< nsCString_external > &aValues, NPError *rv) |
| virtual bool | DeallocPPluginInstance (PPluginInstanceChild *aActor) |
| virtual bool | AnswerPPluginInstanceConstructor (PPluginInstanceChild *aActor, const nsCString_external &aMimeType, const uint16_t &aMode, const InfallibleTArray< nsCString_external > &aNames, const InfallibleTArray< nsCString_external > &aValues, NPError *rv) |
| virtual bool | AnswerNP_Shutdown (NPError *rv) |
| virtual bool | AnswerURLRedirectNotifySupported (bool *aBoolVal) |
| virtual void | ActorDestroy (ActorDestroyReason why) |
| NS_NORETURN void | QuickExit () |
| mozilla::plugins::PluginModuleChild::PluginModuleChild | ( | ) |
| virtual mozilla::plugins::PluginModuleChild::~PluginModuleChild | ( | ) | [virtual] |
| virtual void mozilla::plugins::PluginModuleChild::ActorDestroy | ( | ActorDestroyReason | why | ) | [protected, virtual] |
| void mozilla::plugins::PluginModuleChild::AddQuirk | ( | PluginQuirks | quirk | ) | [inline] |
| virtual PPluginIdentifierChild* mozilla::plugins::PluginModuleChild::AllocPPluginIdentifier | ( | const nsCString_external & | aString, | |
| const int32_t & | aInt | |||
| ) | [protected, virtual] |
| virtual PPluginInstanceChild* mozilla::plugins::PluginModuleChild::AllocPPluginInstance | ( | const nsCString_external & | aMimeType, | |
| const uint16_t & | aMode, | |||
| const InfallibleTArray< nsCString_external > & | aNames, | |||
| const InfallibleTArray< nsCString_external > & | aValues, | |||
| NPError * | rv | |||
| ) | [protected, virtual] |
| virtual bool mozilla::plugins::PluginModuleChild::AnswerNP_GetEntryPoints | ( | NPError * | rv | ) | [protected, virtual] |
| virtual bool mozilla::plugins::PluginModuleChild::AnswerNP_Initialize | ( | NativeThreadId * | tid, | |
| NPError * | rv | |||
| ) | [protected, virtual] |
| virtual bool mozilla::plugins::PluginModuleChild::AnswerNP_Shutdown | ( | NPError * | rv | ) | [protected, virtual] |
| virtual bool mozilla::plugins::PluginModuleChild::AnswerPPluginInstanceConstructor | ( | PPluginInstanceChild * | aActor, | |
| const nsCString_external & | aMimeType, | |||
| const uint16_t & | aMode, | |||
| const InfallibleTArray< nsCString_external > & | aNames, | |||
| const InfallibleTArray< nsCString_external > & | aValues, | |||
| NPError * | rv | |||
| ) | [protected, virtual] |
| virtual bool mozilla::plugins::PluginModuleChild::AnswerURLRedirectNotifySupported | ( | bool * | aBoolVal | ) | [protected, virtual] |
| void mozilla::plugins::PluginModuleChild::CleanUp | ( | ) |
| static PluginModuleChild* mozilla::plugins::PluginModuleChild::current | ( | ) | [static] |
| static void mozilla::plugins::PluginModuleChild::DeallocNPObject | ( | NPObject * | o | ) | [static] |
Dealloc an NPObject after last-release or when the associated instance is destroyed.
This function will remove the object from mObjectMap.
| virtual bool mozilla::plugins::PluginModuleChild::DeallocPPluginIdentifier | ( | PPluginIdentifierChild * | aActor | ) | [protected, virtual] |
| virtual bool mozilla::plugins::PluginModuleChild::DeallocPPluginInstance | ( | PPluginInstanceChild * | aActor | ) | [protected, virtual] |
| void mozilla::plugins::PluginModuleChild::FindNPObjectsForInstance | ( | PluginInstanceChild * | instance | ) |
Fill PluginInstanceChild.mDeletingHash with all the remaining NPObjects associated with that instance.
| PluginScriptableObjectChild* mozilla::plugins::PluginModuleChild::GetActorForNPObject | ( | NPObject * | aObject | ) |
| int mozilla::plugins::PluginModuleChild::GetQuirks | ( | ) | [inline] |
| const char* mozilla::plugins::PluginModuleChild::GetUserAgent | ( | ) |
| bool mozilla::plugins::PluginModuleChild::Init | ( | const std::string & | aPluginFilename, | |
| base::ProcessHandle | aParentProcessHandle, | |||
| MessageLoop * | aIOLoop, | |||
| IPC::Channel * | aChannel | |||
| ) |
| virtual mozilla::ipc::RPCChannel::RacyRPCPolicy mozilla::plugins::PluginModuleChild::MediateRPCRace | ( | const Message & | parent, | |
| const Message & | child | |||
| ) | [inline, protected, virtual] |
| static NPObject* mozilla::plugins::PluginModuleChild::NPN_CreateObject | ( | NPP | aNPP, | |
| NPClass * | aClass | |||
| ) | [static] |
The child implementation of NPN_CreateObject.
| static NPIdentifier mozilla::plugins::PluginModuleChild::NPN_GetIntIdentifier | ( | int32_t | aIntId | ) | [static] |
| static NPIdentifier mozilla::plugins::PluginModuleChild::NPN_GetStringIdentifier | ( | const NPUTF8 * | aName | ) | [static] |
The child implementations of NPIdentifier-related functions.
| static void mozilla::plugins::PluginModuleChild::NPN_GetStringIdentifiers | ( | const NPUTF8 ** | aNames, | |
| int32_t | aNameCount, | |||
| NPIdentifier * | aIdentifiers | |||
| ) | [static] |
| static bool mozilla::plugins::PluginModuleChild::NPN_IdentifierIsString | ( | NPIdentifier | aIdentifier | ) | [static] |
| static int32_t mozilla::plugins::PluginModuleChild::NPN_IntFromIdentifier | ( | NPIdentifier | aIdentifier | ) | [static] |
| static void mozilla::plugins::PluginModuleChild::NPN_ReleaseObject | ( | NPObject * | aNPObj | ) | [static] |
The child implementation of NPN_ReleaseObject.
| static NPObject* mozilla::plugins::PluginModuleChild::NPN_RetainObject | ( | NPObject * | aNPObj | ) | [static] |
The child implementation of NPN_RetainObject.
| static NPUTF8* mozilla::plugins::PluginModuleChild::NPN_UTF8FromIdentifier | ( | NPIdentifier | aIdentifier | ) | [static] |
| NPError mozilla::plugins::PluginModuleChild::NPP_Destroy | ( | PluginInstanceChild * | instance | ) | [inline] |
| NS_NORETURN void mozilla::plugins::PluginModuleChild::QuickExit | ( | ) | [protected] |
| bool mozilla::plugins::PluginModuleChild::RegisterActorForNPObject | ( | NPObject * | aObject, | |
| PluginScriptableObjectChild * | aActor | |||
| ) |
| void mozilla::plugins::PluginModuleChild::UnregisterActorForNPObject | ( | NPObject * | aObject | ) |
1.7.1