NS_IMETHODIMP nsWidget::IsVisible(PRBool &aState) { if (mVisibility != VisibilityFullyObscured) { PR_LOG(XlibWidgetsLM, PR_LOG_DEBUG, ("nsWidget::IsVisible: yes\n")); aState = PR_TRUE; } else { PR_LOG(XlibWidgetsLM, PR_LOG_DEBUG, ("nsWidget::IsVisible: no\n")); aState = PR_FALSE; } return NS_OK; }
inline NS_IMETHOD IsVisible(PRBool &aState) { aState = mShown; return NS_OK; }
NS_IMETHODIMP nsWidget::IsVisible(PRBool &aState){  if (mVisibility != VisibilityFullyObscured) {  PR_LOG(XlibWidgetsLM, PR_LOG_DEBUG, ("nsWidget::IsVisible: yes\n"));    aState = PR_TRUE;  }  else {    PR_LOG(XlibWidgetsLM, PR_LOG_DEBUG, ("nsWidget::IsVisible: no\n"));    aState = PR_FALSE;  }  return NS_OK;}