WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIPluginInstanceOwner

IID:2e6cc23b-7d4e-4b0a-ad45-f2281c937f5c
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 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 persistent by the caller.

Arguments:
window

void invalidateRect ( nsPluginRectPtr* rect )

Invalidate the rectangle

Arguments:
rect

void invalidateRegion ( nsPluginRegion region )

Invalidate the region

Arguments:
region

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.instantiatePluginForChannel, nsIPluginHost.setUpPluginInstance, nsPIPluginHost.instantiateDummyJavaPlugin

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com