nsIPluginInstanceOwner

IID:18270870-32f1-11d2-a830-0040959a28c9
Inherits From:nsISupports

Properties

readonly nsIDocument document

Get the associated document.

readonly nsPluginMode mode

Get the display mode for the plugin instance.


Methods

void createWidget ( ) void forceRedraw ( ) void getInstance ( nsIPluginInstanceRef instance ) void getValue ( inInstancePeerVariable variable , voidPtr* value ) void getWindow ( nsPluginWindowStarRef window ) void invalidateRect ( nsPluginRectPtr* rect ) void invalidateRegion ( nsPluginRegion region ) void pluginNotAvailable ( char* mimeType ) void setInstance ( nsIPluginInstance instance ) void showStatus ( char* statusMsg )

void 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.


void forceRedraw ( )

Force a redraw


void getInstance ( nsIPluginInstanceRef instance )

Get the instance associated with this owner.

Arguments:
instance

void getValue ( inInstancePeerVariable variable , voidPtr* value )

Get the specified variable

Arguments:
variable
value

void getWindow ( nsPluginWindowStarRef window )

Get a handle to the window structure of the owner. This pointer cannot be made persistant by the caller.

Arguments:
window

void invalidateRect ( nsPluginRectPtr* rect )

Invalidate the rectangle

Arguments:
rect

void invalidateRegion ( nsPluginRegion region )

Invalidate the region

Arguments:
region

void pluginNotAvailable ( char* mimeType )

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

Arguments:
mimeType

void setInstance ( nsIPluginInstance instance )

Let the owner know that an instance has been created

Arguments:
instance

void showStatus ( char* statusMsg )

Show a status message in the host environment.

Arguments:
statusMsg

References

This interface is the type of the following properties:

nsPIPluginInstancePeer.owner

This interface is passed as an argument to the following methods:

nsIPluginHost.instantiateEmbeddedPlugin, nsIPluginHost.instantiateFullPagePlugin, nsIPluginHost.setUpPluginInstance

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com