Searched refs:browser (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/tests/BrowserTestPlugin/jni/ |
H A D | main.h | 31 extern NPNetscapeFuncs* browser;
|
H A D | main.cpp | 34 NPNetscapeFuncs* browser; variable 81 browser = (NPNetscapeFuncs*) malloc(sizeof(NPNetscapeFuncs)); 82 memcpy(browser, browserFuncs, sizeof(NPNetscapeFuncs)); 113 NPError err = browser->getvalue(NULL, gPairs[i].v, gPairs[i].i); 142 if (browser->version >= 14) { 143 instance->pdata = browser->createobject (instance, getPluginClass()); 155 NPError err = browser->setvalue(instance, kRequestDrawingModel_ANPSetValue, 173 browser->releaseobject(&obj->header); 183 // Do nothing if browser didn't support NPN_CreateObject which would have created the PluginObject. 262 browser [all...] |
H A D | PluginObject.cpp | 117 browser->getstringidentifiers(pluginPropertyIdentifierNames, NUM_PROPERTY_IDENTIFIERS, pluginPropertyIdentifiers); 118 browser->getstringidentifiers(pluginMethodIdentifierNames, NUM_METHOD_IDENTIFIERS, pluginMethodIdentifiers);
|
/frameworks/base/tests/BrowserTestPlugin/jni/event/ |
H A D | EventPlugin.cpp | 35 extern NPNetscapeFuncs* browser; 109 browser->getvalue(inst(), NPNVWindowNPObject, &windowObject); 114 // create a string (JS code) that is stored in memory allocated by the browser 120 char* beginMem = (char*)browser->memalloc(totalLength); 134 if (!browser->evaluate(inst(), windowObject, &script, &scriptVariant)) 137 // free the memory allocated within the browser 138 browser->memfree(beginMem);
|
Completed in 73 milliseconds