nsToolboxFrame :: HandleEvent ( nsIPresContext& aPresContext, nsGUIEvent*     aEvent, nsEventStatus&  aEventStatus) { if ( !aEvent ) return nsEventStatus_eIgnore;  switch ( aEvent->message ) {  case NS_MOUSE_LEFT_CLICK:  OnMouseLeftClick ( aEvent->point ); break;  case NS_MOUSE_MOVE: OnMouseMove ( aEvent->point ); break;  case NS_MOUSE_EXIT: OnMouseExit ( ); break;  case NS_DRAGDROP_ENTER:  break;  case NS_DRAGDROP_OVER: break;  case NS_DRAGDROP_EXIT:  break;  case NS_DRAGDROP_DROP:  break;  default: break;  }  return nsEventStatus_eIgnore;  }
virtual nsresult HandleEvent(nsIDOMEvent* aEvent) { return mFrame ? mFrame->HandleEvent(aEvent) : NS_OK; }
nsToolboxFrame :: HandleEvent ( nsIPresContext& aPresContext,                                    nsGUIEvent*     aEvent,                                   nsEventStatus&  aEventStatus){  if ( !aEvent )    return nsEventStatus_eIgnore;   switch ( aEvent->message ) {    case NS_MOUSE_LEFT_CLICK://    case NS_MOUSE_LEFT_BUTTON_UP:      OnMouseLeftClick ( aEvent->point );      break;        case NS_MOUSE_MOVE:      OnMouseMove ( aEvent->point );      break;          case NS_MOUSE_EXIT:      OnMouseExit ( );      break;    case NS_DRAGDROP_ENTER:       // show drop feedback       break;     case NS_DRAGDROP_OVER:       break;     case NS_DRAGDROP_EXIT:       // remove drop feedback       break;     case NS_DRAGDROP_DROP:       // do drop coolness stuff       break;     default:      break;  } // case of which event  return nsEventStatus_eIgnore;  } // HandleEvent