Home | History | Annotate | Download | only in Hosted

Lines Matching refs:instance

244     RefPtr<NetscapePluginInstanceProxy> instance = NetscapePluginInstanceProxy::create(hostProxy, pluginView, fullFrame);
245 uint32_t requestID = instance->nextRequestID();
246 kern_return_t kr = _WKPHInstantiatePlugin(hostProxy->port(), requestID, (uint8_t*)[data bytes], [data length], instance->pluginID());
248 // Invalidate the instance.
249 instance->invalidate();
257 // Create a new instance.
258 instance = NetscapePluginInstanceProxy::create(hostProxy, pluginView, fullFrame);
259 requestID = instance->nextRequestID();
260 kr = _WKPHInstantiatePlugin(hostProxy->port(), requestID, (uint8_t*)[data bytes], [data length], instance->pluginID());
263 auto_ptr<NetscapePluginInstanceProxy::InstantiatePluginReply> reply = instance->waitForReply<NetscapePluginInstanceProxy::InstantiatePluginReply>(requestID);
265 instance->cleanup();
269 instance->setRenderContextID(reply->m_renderContextID);
270 instance->setRendererType(reply->m_rendererType);
272 return instance.release();