Classes | Typedefs | Enumerations | Functions | Variables

mozilla::plugins Namespace Reference

Classes

class  AStream
 When we are passed NPStream->{ndata,pdata} in {NPN,NPP}_DestroyStream, we don't know whether it's a plugin stream or a browser stream. More...
class  BrowserStreamChild
class  BrowserStreamParent
class  ChildAsyncCall
class  ChildTimer
struct  NPRemoteEvent
class  PluginIdentifierChild
class  PluginIdentifierChildString
class  PluginIdentifierChildInt
class  PluginIdentifierParent
class  PluginInstanceChild
class  PluginInstanceParent
struct  IPCByteRange
 This is NPByteRange without the linked list. More...
struct  NPRemoteWindow
struct  DeletingObjectEntry
class  PluginModuleChild
class  PluginModuleParent
 PluginModuleParent. More...
class  PluginProcessChild
class  PluginProcessParent
struct  ChildNPObject
class  PluginScriptableObjectChild
struct  ParentNPObject
class  PluginScriptableObjectParent
class  ProtectedVariant
class  ProtectedVariantArray
struct  ProtectedActorTraits
class  ProtectedActor
struct  ProtectedActorTraits< PluginScriptableObjectParent >
struct  ProtectedActorTraits< PluginScriptableObjectChild >
class  PluginStreamChild
class  PluginStreamParent
class  StreamNotifyChild
class  StreamNotifyParent

Typedefs

typedef void(* PluginThreadCallback )(void *)
typedef void(* TimerFunc )(NPP npp, uint32_t timerID)
typedef std::vector< IPCByteRangeIPCByteRanges
typedef nsCString_external Buffer
typedef mozilla::null_t WindowsSharedMemoryHandle
typedef int32 NativeThreadId

Enumerations

enum  ScriptableObjectType { LocalObject, Proxy }

Functions

mozilla::ipc::RPCChannel::RacyRPCPolicy MediateRace (const mozilla::ipc::RPCChannel::Message &parent, const mozilla::ipc::RPCChannel::Message &child)
std::string MungePluginDsoPath (const std::string &path)
std::string UnmungePluginDsoPath (const std::string &munged)
const char *const NPPVariableToString (NPPVariable aVar)
const char * NPNVariableToString (NPNVariable aVar)
bool IsPluginThread ()
void AssertPluginThread ()
void DeferNPObjectLastRelease (const NPNetscapeFuncs *f, NPObject *o)
void DeferNPVariantLastRelease (const NPNetscapeFuncs *f, NPVariant *v)
nsCString_external NullableString (const char *aString)
const char * NullableStringGet (const nsCString_external &str)
PluginInstanceParentGetInstance (NPObject *aObject)
NPObjectNPObjectFromVariant (const Variant &aRemoteVariant)
NPObjectNPObjectFromVariant (const NPVariant &aVariant)
const NPNetscapeFuncsGetNetscapeFuncs (PluginInstanceParent *aInstance)
const NPNetscapeFuncsGetNetscapeFuncs (NPObject *aObject)
void ReleaseRemoteVariant (Variant &aVariant)
bool ConvertToVariant (const Variant &aRemoteVariant, NPVariant &aVariant, PluginInstanceParent *aInstance=0L)
template<class InstanceType >
bool ConvertToRemoteVariant (const NPVariant &aVariant, Variant &aRemoteVariant, InstanceType *aInstance, bool aProtectActors=false)

Variables

PRLogModuleInfogPluginLog

Typedef Documentation

typedef void(* mozilla::plugins::PluginThreadCallback)(void *)
typedef void(* mozilla::plugins::TimerFunc)(NPP npp, uint32_t timerID)

Enumeration Type Documentation

Enumerator:
LocalObject 
Proxy 

Function Documentation

void mozilla::plugins::AssertPluginThread (  )  [inline]
template<class InstanceType >
bool mozilla::plugins::ConvertToRemoteVariant ( const NPVariant aVariant,
Variant &  aRemoteVariant,
InstanceType *  aInstance,
bool  aProtectActors = false 
)
bool mozilla::plugins::ConvertToVariant ( const Variant &  aRemoteVariant,
NPVariant aVariant,
PluginInstanceParent *  aInstance = 0L 
) [inline]
void mozilla::plugins::DeferNPObjectLastRelease ( const NPNetscapeFuncs f,
NPObject o 
)
void mozilla::plugins::DeferNPVariantLastRelease ( const NPNetscapeFuncs f,
NPVariant v 
)
PluginInstanceParent* mozilla::plugins::GetInstance ( NPObject aObject  )  [inline]
const NPNetscapeFuncs* mozilla::plugins::GetNetscapeFuncs ( NPObject aObject  )  [inline]
const NPNetscapeFuncs* mozilla::plugins::GetNetscapeFuncs ( PluginInstanceParent *  aInstance  )  [inline]
bool mozilla::plugins::IsPluginThread (  )  [inline]
mozilla::ipc::RPCChannel::RacyRPCPolicy mozilla::plugins::MediateRace ( const mozilla::ipc::RPCChannel::Message parent,
const mozilla::ipc::RPCChannel::Message child 
)
std::string mozilla::plugins::MungePluginDsoPath ( const std::string &  path  ) 
const char* mozilla::plugins::NPNVariableToString ( NPNVariable  aVar  )  [inline]
NPObject* mozilla::plugins::NPObjectFromVariant ( const NPVariant aVariant  )  [inline]
NPObject* mozilla::plugins::NPObjectFromVariant ( const Variant &  aRemoteVariant  )  [inline]
const char* const mozilla::plugins::NPPVariableToString ( NPPVariable  aVar  )  [inline]
nsCString_external mozilla::plugins::NullableString ( const char *  aString  )  [inline]
const char* mozilla::plugins::NullableStringGet ( const nsCString_external str  )  [inline]
void mozilla::plugins::ReleaseRemoteVariant ( Variant &  aVariant  )  [inline]
std::string mozilla::plugins::UnmungePluginDsoPath ( const std::string &  munged  ) 

Variable Documentation