PluginModuleParent.
More...
#include <PluginModuleParent.h>
List of all members.
Public Member Functions |
| | PluginModuleParent (const char *aFilePath) |
| virtual | ~PluginModuleParent () |
| virtual void | SetPlugin (nsNPAPIPlugin *plugin) |
| | Inform this library about the nsNPAPIPlugin which owns it.
|
| virtual void | ActorDestroy (ActorDestroyReason why) |
| const NPNetscapeFuncs * | GetNetscapeFuncs () |
| PluginProcessParent * | Process () const |
| base::ProcessHandle | ChildProcessHandle () |
| bool | OkToCleanup () const |
| PPluginIdentifierParent * | GetIdentifierForNPIdentifier (NPIdentifier aIdentifier) |
Static Public Member Functions |
| static PluginLibrary * | LoadModule (const char *aFilePath) |
| | LoadModule.
|
Protected Member Functions |
| virtual PPluginIdentifierParent * | AllocPPluginIdentifier (const nsCString_external &aString, const int32_t &aInt) |
| virtual bool | DeallocPPluginIdentifier (PPluginIdentifierParent *aActor) |
| PPluginInstanceParent * | AllocPPluginInstance (const nsCString_external &aMimeType, const uint16_t &aMode, const InfallibleTArray< nsCString_external > &aNames, const InfallibleTArray< nsCString_external > &aValues, NPError *rv) |
| virtual bool | DeallocPPluginInstance (PPluginInstanceParent *aActor) |
virtual
mozilla::ipc::RPCChannel::RacyRPCPolicy | MediateRPCRace (const Message &parent, const Message &child) |
| virtual bool | RecvXXX_HACK_FIXME_cjones (Shmem &mem) |
| virtual bool | ShouldContinueFromReplyTimeout () |
| virtual bool | RecvBackUpXResources (const FileDescriptor &aXSocketFd) |
| virtual bool | AnswerNPN_UserAgent (nsCString_external *userAgent) |
| virtual bool | AnswerNPN_GetValue_WithBoolReturn (const NPNVariable &aVariable, NPError *aError, bool *aBoolVal) |
| virtual bool | AnswerProcessSomeEvents () |
| virtual bool | RecvProcessNativeEventsInRPCCall () |
| virtual bool | RecvAppendNotesToCrashReport (const nsCString_external &aNotes) |
| virtual bool | RecvPluginShowWindow (const uint32_t &aWindowId, const bool &aModal, const int32_t &aX, const int32_t &aY, const size_t &aWidth, const size_t &aHeight) |
| virtual bool | RecvPluginHideWindow (const uint32_t &aWindowId) |
Static Protected Member Functions |
| static PluginInstanceParent * | InstCast (NPP instance) |
| static BrowserStreamParent * | StreamCast (NPP instance, NPStream *s) |
Detailed Description
PluginModuleParent.
This class implements the NPP API from the perspective of the rest of Gecko, forwarding NPP calls along to the child process that is actually running the plugin.
This class /also/ implements a version of the NPN API, because the child process needs to make these calls back into Gecko proper. This class is responsible for "actually" making those function calls.
Constructor & Destructor Documentation
| mozilla::plugins::PluginModuleParent::PluginModuleParent |
( |
const char * |
aFilePath |
) |
|
| virtual mozilla::plugins::PluginModuleParent::~PluginModuleParent |
( |
|
) |
[virtual] |
Member Function Documentation
| virtual void mozilla::plugins::PluginModuleParent::ActorDestroy |
( |
ActorDestroyReason |
why |
) |
[virtual] |
| virtual PPluginIdentifierParent* mozilla::plugins::PluginModuleParent::AllocPPluginIdentifier |
( |
const nsCString_external & |
aString, |
|
|
const int32_t & |
aInt | |
|
) |
| | [protected, virtual] |
| virtual bool mozilla::plugins::PluginModuleParent::AnswerNPN_GetValue_WithBoolReturn |
( |
const NPNVariable & |
aVariable, |
|
|
NPError * |
aError, |
|
|
bool * |
aBoolVal | |
|
) |
| | [protected, virtual] |
| virtual bool mozilla::plugins::PluginModuleParent::AnswerNPN_UserAgent |
( |
nsCString_external * |
userAgent |
) |
[protected, virtual] |
| virtual bool mozilla::plugins::PluginModuleParent::AnswerProcessSomeEvents |
( |
|
) |
[protected, virtual] |
| base::ProcessHandle mozilla::plugins::PluginModuleParent::ChildProcessHandle |
( |
|
) |
[inline] |
| virtual bool mozilla::plugins::PluginModuleParent::DeallocPPluginIdentifier |
( |
PPluginIdentifierParent * |
aActor |
) |
[protected, virtual] |
| virtual bool mozilla::plugins::PluginModuleParent::DeallocPPluginInstance |
( |
PPluginInstanceParent * |
aActor |
) |
[protected, virtual] |
| PPluginIdentifierParent* mozilla::plugins::PluginModuleParent::GetIdentifierForNPIdentifier |
( |
NPIdentifier |
aIdentifier |
) |
|
| const NPNetscapeFuncs* mozilla::plugins::PluginModuleParent::GetNetscapeFuncs |
( |
|
) |
[inline] |
| static PluginLibrary* mozilla::plugins::PluginModuleParent::LoadModule |
( |
const char * |
aFilePath |
) |
[static] |
LoadModule.
This may or may not launch a plugin child process, and may or may not be very expensive.
| bool mozilla::plugins::PluginModuleParent::OkToCleanup |
( |
|
) |
const [inline] |
| virtual bool mozilla::plugins::PluginModuleParent::RecvAppendNotesToCrashReport |
( |
const nsCString_external & |
aNotes |
) |
[protected, virtual] |
| virtual bool mozilla::plugins::PluginModuleParent::RecvBackUpXResources |
( |
const FileDescriptor & |
aXSocketFd |
) |
[protected, virtual] |
| virtual bool mozilla::plugins::PluginModuleParent::RecvPluginHideWindow |
( |
const uint32_t & |
aWindowId |
) |
[protected, virtual] |
| virtual bool mozilla::plugins::PluginModuleParent::RecvPluginShowWindow |
( |
const uint32_t & |
aWindowId, |
|
|
const bool & |
aModal, |
|
|
const int32_t & |
aX, |
|
|
const int32_t & |
aY, |
|
|
const size_t & |
aWidth, |
|
|
const size_t & |
aHeight | |
|
) |
| | [protected, virtual] |
| virtual bool mozilla::plugins::PluginModuleParent::RecvProcessNativeEventsInRPCCall |
( |
|
) |
[protected, virtual] |
| virtual bool mozilla::plugins::PluginModuleParent::RecvXXX_HACK_FIXME_cjones |
( |
Shmem & |
mem |
) |
[inline, protected, virtual] |
| virtual void mozilla::plugins::PluginModuleParent::SetPlugin |
( |
nsNPAPIPlugin * |
plugin |
) |
[inline, virtual] |
Inform this library about the nsNPAPIPlugin which owns it.
This object will hold a weak pointer to the plugin.
Implements mozilla::PluginLibrary.
| virtual bool mozilla::plugins::PluginModuleParent::ShouldContinueFromReplyTimeout |
( |
|
) |
[protected, virtual] |
The documentation for this class was generated from the following file: