38#include "nsISupports.idl"
39#include "nspluginroot.idl"
40#include "nsIPlugin.idl"
47[uuid(c4ed03f3-498b-4045-97c7-0b05838f886c)]
63 return GetInstance(*aInstance);
77 readonly attribute nsPluginMode
mode;
93 GetURL(
const char *aURL,
const char *aTarget,
94 void *aPostData, PRUint32 aPostDataLen,
95 void *aHeadersData, PRUint32 aHeadersDataLen,
96 PRBool aIsFile = PR_FALSE) = 0;
106 ShowStatus(
const PRUnichar *aStatusMsg) = 0;
void forceRedraw()
Force a redraw.
void showStatus(in string aStatusMsg)
Show a status message in the host environment.
void setInstance(in nsIPluginInstance aInstance)
Let the owner know what its instance is.
void getWindow(in nsPluginWindowStarRef aWindow)
Get a handle to the window structure of the owner.
void getNetscapeWindow(in voidPtr aValue)
Get NetscapeWindow, corresponds to NPNVnetscapeWindow.
void getInstance(in nsIPluginInstanceRef aInstance)
Get the instance associated with this owner.
void createWidget()
Create a place for the plugin to live in the owner's environment.
readonly attribute nsPluginMode mode
Get the display mode for the plugin instance.
void invalidateRegion(in nsPluginRegion aRegion)
Invalidate the region.
readonly attribute nsIDocument document
Get the associated document.
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 invalidateRect(in nsPluginRectPtr aRect)
Invalidate the rectangle.