FreeWRL/FreeX3D  3.0.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. More...
 
void createWidget ()
 Create a place for the plugin to live in the owner's environment. More...
 
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. More...
 
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

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.

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.

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.


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