FreeWRL / FreeX3D 4.3.0
nsIPluginInstanceOwner Interface Referenceabstract
Inheritance diagram for nsIPluginInstanceOwner:

Public Member Functions

void setInstance (in nsIPluginInstance aInstance)
 Let the owner know what its instance is.
 
void getInstance (in nsIPluginInstanceRef aInstance)
 Get the instance associated with this owner.
 
nsresult GetInstance (nsIPluginInstance **aInstance)
 
void getWindow (in nsPluginWindowStarRef aWindow)
 Get a handle to the window structure of the owner.
 
void createWidget ()
 Create a place for the plugin to live in the owner's environment.
 
NS_IMETHOD GetURL (const char *aURL, const char *aTarget, void *aPostData, PRUint32 aPostDataLen, void *aHeadersData, PRUint32 aHeadersDataLen, PRBool aIsFile=PR_FALSE)=0
 Called when there is a valid target so that the proper frame can be updated with new content.
 
void showStatus (in string aStatusMsg)
 Show a status message in the host environment.
 
NS_IMETHOD ShowStatus (const PRUnichar *aStatusMsg)=0
 
void invalidateRect (in nsPluginRectPtr aRect)
 Invalidate the rectangle.
 
void invalidateRegion (in nsPluginRegion aRegion)
 Invalidate the region.
 
void forceRedraw ()
 Force a redraw.
 
void getNetscapeWindow (in voidPtr aValue)
 Get NetscapeWindow, corresponds to NPNVnetscapeWindow.
 

Data Fields

readonly attribute nsPluginMode mode
 Get the display mode for the plugin instance.
 
readonly attribute nsIDocument document
 Get the associated document.
 

Detailed Description

Definition at line 48 of file nsIPluginInstanceOwner.idl.

Member Function Documentation

◆ createWidget()

void nsIPluginInstanceOwner::createWidget ( )

Create a place for the plugin to live in the owner's environment.

this may or may not create a window depending on the windowless state of the plugin instance.

◆ GetInstance()

nsresult nsIPluginInstanceOwner::GetInstance ( nsIPluginInstance ** aInstance)
inline

Definition at line 62 of file nsIPluginInstanceOwner.idl.

◆ GetURL()

NS_IMETHOD nsIPluginInstanceOwner::GetURL ( const char * aURL,
const char * aTarget,
void * aPostData,
PRUint32 aPostDataLen,
void * aHeadersData,
PRUint32 aHeadersDataLen,
PRBool aIsFile = PR_FALSE )
pure virtual

Called when there is a valid target so that the proper frame can be updated with new content.

will not be called with nsnull aTarget.

◆ getWindow()

void nsIPluginInstanceOwner::getWindow ( in nsPluginWindowStarRef aWindow)

Get a handle to the window structure of the owner.

This pointer cannot be made persistent by the caller.

Field Documentation

◆ document

readonly attribute nsIDocument nsIPluginInstanceOwner::document

Get the associated document.

Definition at line 114 of file nsIPluginInstanceOwner.idl.

◆ mode

readonly attribute nsPluginMode nsIPluginInstanceOwner::mode

Get the display mode for the plugin instance.

Definition at line 77 of file nsIPluginInstanceOwner.idl.


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