Public Member Functions | Protected Member Functions | Friends

mozilla::plugins::PluginInstanceChild Class Reference

#include <PluginInstanceChild.h>

Collaboration diagram for mozilla::plugins::PluginInstanceChild:

List of all members.

Public Member Functions

 PluginInstanceChild (const NPPluginFuncs *aPluginIface)
virtual ~PluginInstanceChild ()
bool Initialize ()
NPP GetNPP ()
NPError NPN_GetValue (NPNVariable aVariable, void *aValue)
NPError NPN_SetValue (NPPVariable aVariable, void *aValue)
PluginScriptableObjectChildGetActorForNPObject (NPObject *aObject)
NPError NPN_NewStream (NPMIMEType aMIMEType, const char *aWindow, NPStream **aStream)
void InvalidateRect (NPRect *aInvalidRect)
uint32_t ScheduleTimer (uint32_t interval, bool repeat, TimerFunc func)
void UnscheduleTimer (uint32_t id)
void AsyncCall (PluginThreadCallback aFunc, void *aUserData)
int GetQuirks ()
void NPN_URLRedirectResponse (void *notifyData, NPBool allow)

Protected Member Functions

virtual bool AnswerNPP_SetWindow (const NPRemoteWindow &window)
virtual bool AnswerNPP_GetValue_NPPVpluginNeedsXEmbed (bool *needs, NPError *rv)
virtual bool AnswerNPP_GetValue_NPPVpluginScriptableNPObject (PPluginScriptableObjectChild **value, NPError *result)
virtual bool AnswerNPP_SetValue_NPNVprivateModeBool (const bool &value, NPError *result)
virtual bool AnswerNPP_HandleEvent (const NPRemoteEvent &event, int16_t *handled)
virtual bool AnswerNPP_HandleEvent_Shmem (const NPRemoteEvent &event, Shmem &mem, int16_t *handled, Shmem *rtnmem)
virtual bool AnswerNPP_HandleEvent_IOSurface (const NPRemoteEvent &event, const uint32_t &surface, int16_t *handled)
virtual bool RecvAsyncSetWindow (const gfxSurfaceType &aSurfaceType, const NPRemoteWindow &aWindow)
virtual void DoAsyncSetWindow (const gfxSurfaceType &aSurfaceType, const NPRemoteWindow &aWindow, bool aIsAsync)
virtual bool AnswerPaint (const NPRemoteEvent &event, int16_t *handled)
virtual bool RecvWindowPosChanged (const NPRemoteEvent &event)
virtual bool AnswerNPP_Destroy (NPError *result)
virtual
PPluginScriptableObjectChild * 
AllocPPluginScriptableObject ()
virtual bool DeallocPPluginScriptableObject (PPluginScriptableObjectChild *aObject)
virtual bool RecvPPluginScriptableObjectConstructor (PPluginScriptableObjectChild *aActor)
virtual PBrowserStreamChild * AllocPBrowserStream (const nsCString_external &url, const uint32_t &length, const uint32_t &lastmodified, PStreamNotifyChild *notifyData, const nsCString_external &headers, const nsCString_external &mimeType, const bool &seekable, NPError *rv, uint16_t *stype)
virtual bool AnswerPBrowserStreamConstructor (PBrowserStreamChild *aActor, const nsCString_external &url, const uint32_t &length, const uint32_t &lastmodified, PStreamNotifyChild *notifyData, const nsCString_external &headers, const nsCString_external &mimeType, const bool &seekable, NPError *rv, uint16_t *stype)
virtual bool DeallocPBrowserStream (PBrowserStreamChild *stream)
virtual PPluginStreamChild * AllocPPluginStream (const nsCString_external &mimeType, const nsCString_external &target, NPError *result)
virtual bool DeallocPPluginStream (PPluginStreamChild *stream)
virtual PStreamNotifyChild * AllocPStreamNotify (const nsCString_external &url, const nsCString_external &target, const bool &post, const nsCString_external &buffer, const bool &file, NPError *result)
virtual bool DeallocPStreamNotify (PStreamNotifyChild *notifyData)
virtual bool AnswerSetPluginFocus ()
virtual bool AnswerUpdateWindow ()

Friends

class BrowserStreamChild
class PluginStreamChild
class StreamNotifyChild
class PluginModuleChild
class ChildAsyncCall

Constructor & Destructor Documentation

mozilla::plugins::PluginInstanceChild::PluginInstanceChild ( const NPPluginFuncs aPluginIface  ) 
virtual mozilla::plugins::PluginInstanceChild::~PluginInstanceChild (  )  [virtual]

Member Function Documentation

virtual PBrowserStreamChild* mozilla::plugins::PluginInstanceChild::AllocPBrowserStream ( const nsCString_external url,
const uint32_t &  length,
const uint32_t &  lastmodified,
PStreamNotifyChild *  notifyData,
const nsCString_external headers,
const nsCString_external mimeType,
const bool seekable,
NPError rv,
uint16_t *  stype 
) [protected, virtual]
virtual PPluginScriptableObjectChild* mozilla::plugins::PluginInstanceChild::AllocPPluginScriptableObject (  )  [protected, virtual]
virtual PPluginStreamChild* mozilla::plugins::PluginInstanceChild::AllocPPluginStream ( const nsCString_external mimeType,
const nsCString_external target,
NPError result 
) [protected, virtual]
virtual PStreamNotifyChild* mozilla::plugins::PluginInstanceChild::AllocPStreamNotify ( const nsCString_external url,
const nsCString_external target,
const bool post,
const nsCString_external buffer,
const bool file,
NPError result 
) [protected, virtual]
virtual bool mozilla::plugins::PluginInstanceChild::AnswerNPP_Destroy ( NPError result  )  [protected, virtual]
virtual bool mozilla::plugins::PluginInstanceChild::AnswerNPP_GetValue_NPPVpluginNeedsXEmbed ( bool needs,
NPError rv 
) [protected, virtual]
virtual bool mozilla::plugins::PluginInstanceChild::AnswerNPP_GetValue_NPPVpluginScriptableNPObject ( PPluginScriptableObjectChild **  value,
NPError result 
) [protected, virtual]
virtual bool mozilla::plugins::PluginInstanceChild::AnswerNPP_HandleEvent ( const NPRemoteEvent event,
int16_t *  handled 
) [protected, virtual]
virtual bool mozilla::plugins::PluginInstanceChild::AnswerNPP_HandleEvent_IOSurface ( const NPRemoteEvent event,
const uint32_t &  surface,
int16_t *  handled 
) [protected, virtual]
virtual bool mozilla::plugins::PluginInstanceChild::AnswerNPP_HandleEvent_Shmem ( const NPRemoteEvent event,
Shmem &  mem,
int16_t *  handled,
Shmem *  rtnmem 
) [protected, virtual]
virtual bool mozilla::plugins::PluginInstanceChild::AnswerNPP_SetValue_NPNVprivateModeBool ( const bool value,
NPError result 
) [protected, virtual]
virtual bool mozilla::plugins::PluginInstanceChild::AnswerNPP_SetWindow ( const NPRemoteWindow window  )  [protected, virtual]
virtual bool mozilla::plugins::PluginInstanceChild::AnswerPaint ( const NPRemoteEvent event,
int16_t *  handled 
) [inline, protected, virtual]
virtual bool mozilla::plugins::PluginInstanceChild::AnswerPBrowserStreamConstructor ( PBrowserStreamChild *  aActor,
const nsCString_external url,
const uint32_t &  length,
const uint32_t &  lastmodified,
PStreamNotifyChild *  notifyData,
const nsCString_external headers,
const nsCString_external mimeType,
const bool seekable,
NPError rv,
uint16_t *  stype 
) [protected, virtual]
virtual bool mozilla::plugins::PluginInstanceChild::AnswerSetPluginFocus (  )  [protected, virtual]
virtual bool mozilla::plugins::PluginInstanceChild::AnswerUpdateWindow (  )  [protected, virtual]
void mozilla::plugins::PluginInstanceChild::AsyncCall ( PluginThreadCallback  aFunc,
void *  aUserData 
)
virtual bool mozilla::plugins::PluginInstanceChild::DeallocPBrowserStream ( PBrowserStreamChild *  stream  )  [protected, virtual]
virtual bool mozilla::plugins::PluginInstanceChild::DeallocPPluginScriptableObject ( PPluginScriptableObjectChild *  aObject  )  [protected, virtual]
virtual bool mozilla::plugins::PluginInstanceChild::DeallocPPluginStream ( PPluginStreamChild *  stream  )  [protected, virtual]
virtual bool mozilla::plugins::PluginInstanceChild::DeallocPStreamNotify ( PStreamNotifyChild *  notifyData  )  [protected, virtual]
virtual void mozilla::plugins::PluginInstanceChild::DoAsyncSetWindow ( const gfxSurfaceType aSurfaceType,
const NPRemoteWindow aWindow,
bool  aIsAsync 
) [protected, virtual]
PluginScriptableObjectChild* mozilla::plugins::PluginInstanceChild::GetActorForNPObject ( NPObject aObject  ) 
NPP mozilla::plugins::PluginInstanceChild::GetNPP (  )  [inline]
int mozilla::plugins::PluginInstanceChild::GetQuirks (  ) 
bool mozilla::plugins::PluginInstanceChild::Initialize (  ) 
void mozilla::plugins::PluginInstanceChild::InvalidateRect ( NPRect aInvalidRect  ) 
NPError mozilla::plugins::PluginInstanceChild::NPN_GetValue ( NPNVariable  aVariable,
void *  aValue 
)
NPError mozilla::plugins::PluginInstanceChild::NPN_NewStream ( NPMIMEType  aMIMEType,
const char *  aWindow,
NPStream **  aStream 
)
NPError mozilla::plugins::PluginInstanceChild::NPN_SetValue ( NPPVariable  aVariable,
void *  aValue 
)
void mozilla::plugins::PluginInstanceChild::NPN_URLRedirectResponse ( void *  notifyData,
NPBool  allow 
)
virtual bool mozilla::plugins::PluginInstanceChild::RecvAsyncSetWindow ( const gfxSurfaceType aSurfaceType,
const NPRemoteWindow aWindow 
) [protected, virtual]
virtual bool mozilla::plugins::PluginInstanceChild::RecvPPluginScriptableObjectConstructor ( PPluginScriptableObjectChild *  aActor  )  [protected, virtual]
virtual bool mozilla::plugins::PluginInstanceChild::RecvWindowPosChanged ( const NPRemoteEvent event  )  [protected, virtual]
uint32_t mozilla::plugins::PluginInstanceChild::ScheduleTimer ( uint32_t  interval,
bool  repeat,
TimerFunc  func 
)
void mozilla::plugins::PluginInstanceChild::UnscheduleTimer ( uint32_t  id  ) 

Friends And Related Function Documentation

friend class BrowserStreamChild [friend]
friend class ChildAsyncCall [friend]
friend class PluginModuleChild [friend]
friend class PluginStreamChild [friend]
friend class StreamNotifyChild [friend]

The documentation for this class was generated from the following file: