Home | History | Annotate | Download | only in TestNetscapePlugIn

Lines Matching defs:windowObject

39 static void pluginLogWithWindowObject(NPObject* windowObject, NPP instance, const char* message)
42 if (!browser->getproperty(instance, windowObject, browser->getstringidentifier("console"), &consoleVariant)) {
65 static void pluginLogWithWindowObjectVariableArgs(NPObject* windowObject, NPP instance, const char* format, ...)
73 pluginLogWithWindowObject(windowObject, instance, message);
81 NPObject* windowObject = 0;
82 NPError error = browser->getvalue(instance, NPNVWindowNPObject, &windowObject);
88 pluginLogWithWindowObject(windowObject, instance, message);
89 browser->releaseobject(windowObject);
876 NPObject* windowObject = 0;
877 browser->getvalue(npp, NPNVWindowNPObject, &windowObject);
878 if (!windowObject)
882 browser->getproperty(npp, windowObject, documentId, &docVariant);
884 browser->releaseobject(windowObject);
896 browser->releaseobject(windowObject);
904 browser->releaseobject(windowObject);
909 pluginLogWithWindowObjectVariableArgs(windowObject, npp, "DOCUMENT OPEN SUCCESS");
912 browser->releaseobject(windowObject);
920 NPObject* windowObject = 0;
921 browser->getvalue(npp, NPNVWindowNPObject, &windowObject);
922 if (!windowObject)
930 if (!browser->invoke(npp, windowObject, openId, openArgs, 2, &result)) {
931 browser->releaseobject(windowObject);
936 browser->releaseobject(windowObject);
941 pluginLogWithWindowObjectVariableArgs(windowObject, npp, "WINDOW OPEN SUCCESS");
944 browser->releaseobject(windowObject);
966 NPObject* windowObject;
967 if (NPERR_NO_ERROR != browser->getvalue(obj->npp, NPNVWindowNPObject, &windowObject))
971 if (browser->invoke(obj->npp, windowObject, browser->getstringidentifier("resizePlugin"), args, argCount, &callResult))
975 if (browser->getproperty(obj->npp, windowObject, browser->getstringidentifier("pageYOffset"), &callResult))
985 NPObject* windowObject;
986 if (NPERR_NO_ERROR != browser->getvalue(obj->npp, NPNVWindowNPObject, &windowObject))
990 if (browser->invoke(obj->npp, windowObject, browser->getstringidentifier("pluginCallback"), args, argCount, &callResult))