Lines Matching refs:browser
41 static NPNetscapeFuncs* browser;
85 browser = browserFuncs;
123 // Ask the browser if it supports the CoreGraphics drawing model
125 if (browser->getvalue(instance, NPNVsupportsCoreGraphicsBool, &supportsCoreGraphics) != NPERR_NO_ERROR)
131 // If the browser supports the CoreGraphics drawing model, enable it.
132 browser->setvalue(instance, NPPVpluginDrawingModel, (void*)NPDrawingModelCoreGraphics);
134 // If the browser supports the Cocoa event model, enable it.
136 if (browser->getvalue(instance, NPNVsupportsCocoaBool, &supportsCocoa) != NPERR_NO_ERROR)
142 browser->setvalue(instance, NPPVpluginEventModel, (void*)NPEventModelCocoa);
278 browser->invalidaterect(obj->npp, &rect);