NS_IMETHODIMP ExternalWrapper::CanCreateWrapper(const nsIID * iid, char **_retval) { Debug::log(Debug::Spam) << "ExternalWrapper::CanCreateWrapper" << Debug::flush; *_retval = cloneAllAccess(); return NS_OK; }
NS_IMETHODIMP ExternalWrapper::CanCallMethod(const nsIID * iid, const PRUnichar *methodName, char **_retval) { Debug::log(Debug::Spam) << "ExternalWrapper::CanCallMethod" << Debug::flush; if (strEquals(methodName, "connect") || strEquals(methodName, "init")) { *_retval = cloneAllAccess(); } else { *_retval = nsnull; } return NS_OK; }
NS_IMETHODIMP nsXULControllers::CanCreateWrapper(const nsIID * iid, char **_retval) { *_retval = cloneAllAccess(); return *_retval ? NS_OK : NS_ERROR_OUT_OF_MEMORY; }
NS_IMETHODIMP CanvasGLBuffer::CanSetProperty(const nsIID *iid, const PRUnichar *propertyName, char **_retval) { *_retval = cloneAllAccess(); return NS_OK; }
NS_IMETHODIMP CanvasGLBuffer::CanCallMethod(const nsIID *iid, const PRUnichar *methodName, char **_retval) { *_retval = cloneAllAccess(); return NS_OK; }
NS_IMETHODIMP CanvasGLBuffer::CanCreateWrapper(const nsIID* iid, char **_retval) { *_retval = cloneAllAccess(); return NS_OK; }