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