nsXBLPrototypeHandler::MouseEventMatched(nsIAtom* aEventType, nsIDOMMouseEvent* aMouseEvent, PRBool* aResult) { *aResult = PR_TRUE;
inline PRBool MouseEventMatched(nsIAtom* aEventType, nsIDOMMouseEvent* aEvent) { if (aEventType != mEventName) return PR_FALSE;
nsXBLPrototypeHandler::MouseEventMatched(nsIAtom* aEventType, nsIDOMMouseEvent* aMouseEvent, PRBool* aResult){  *aResult = PR_TRUE;  if (aEventType != mEventName.get()) {    *aResult = PR_FALSE;    return NS_OK;  }  if (mDetail == -1 && mMisc == 0 && mKeyMask == 0)    return NS_OK; // No filters set up. It's generic.  unsigned short button;  aMouseEvent->GetButton(&button);  if (mDetail != -1 && (button != mDetail)) {    *aResult = PR_FALSE;    return NS_OK;  }  PRInt32 clickcount;  aMouseEvent->GetDetail(&clickcount);  if (mMisc != 0 && (clickcount != mMisc)) {    *aResult = PR_FALSE;    return NS_OK;  }    PRBool result = ModifiersMatchMask(aMouseEvent);  *aResult = result;  return NS_OK;}