37 #ifndef nsIPluginInstanceInternal_h___
38 #define nsIPluginInstanceInternal_h___
40 #include "nsISupports.h"
45 #define NPRUNTIME_JSCLASS_NAME "NPObject JS wrapper class"
47 #define NS_IPLUGININSTANCEINTERNAL_IID \
48 {0x1a9c2ae8, 0xab75, 0x4296, \
49 { 0xaf, 0xcb, 0x39, 0x54, 0x39, 0x96, 0x06, 0xa9 }}
54 NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPLUGININSTANCEINTERNAL_IID)
56 virtual JSObject *GetJSObject(JSContext *cx) = 0;
58 virtual nsresult GetFormValue(nsAString& aValue) = 0;
61 virtual nsresult PushPopupsEnabledState(PRBool aEnabled) = 0;
63 virtual nsresult PopPopupsEnabledState() = 0;
65 virtual PRUint16 GetPluginAPIVersion() = 0;
68 virtual nsresult DefineJavaProperties() = 0;
72 NS_IPLUGININSTANCEINTERNAL_IID)