Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIPluginInstanceOwner Interface Reference

import "nsIPluginInstanceOwner.idl";

Inheritance diagram for nsIPluginInstanceOwner:
Inheritance graph
[legend]
Collaboration diagram for nsIPluginInstanceOwner:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void setInstance (in nsIPluginInstance aInstance)
 Let the owner know that an instance has been created.
void getInstance (in nsIPluginInstanceRef aInstance)
 Get the instance associated with this owner.
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 getValue (in nsPluginInstancePeerVariable aVariable, in voidPtr aValue)
 Get the specified variable.
void pluginNotAvailable (in string aMimeType)
 Inform the owner that no plugin for the given mime type was found.

Public Attributes

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 51 of file nsIPluginInstanceOwner.idl.


Member Function Documentation

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.

Force a redraw.

Get the instance associated with this owner.

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.

Implemented in nsPluginInstanceOwner.

Get the specified variable.

Get a handle to the window structure of the owner.

This pointer cannot be made persistant by the caller.

Invalidate the rectangle.

Invalidate the region.

Inform the owner that no plugin for the given mime type was found.

Let the owner know that an instance has been created.

Show a status message in the host environment.

Implemented in nsPluginInstanceOwner.

Here is the caller graph for this function:


Member Data Documentation

Get the associated document.

Definition at line 110 of file nsIPluginInstanceOwner.idl.

Get the display mode for the plugin instance.

Definition at line 73 of file nsIPluginInstanceOwner.idl.


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