nsEventStatus ProcessEvent(const nsGUIEvent& anEvent) { return nsEventStatus_eConsumeNoDefault; }
nsEventStatus nsPluginInstanceOwner::ProcessEvent(const nsGUIEvent& anEvent) {  nsEventStatus rv = nsEventStatus_eIgnore; if (!mInstance) return rv;  #ifdef XP_MAC if (mWidget != NULL) { EventRecord* event = (EventRecord*)anEvent.nativeMsg; if ((event == NULL) || (event->what == nullEvent)  || (anEvent.message == NS_FOCUS_EVENT_START)      || (anEvent.message == NS_BLUR_CONTENT)           || (anEvent.message == NS_MOUSE_MOVE)             || (anEvent.message == NS_MOUSE_ENTER)) { EventRecord macEvent; GUItoMacEvent(anEvent, macEvent); event = &macEvent; } nsPluginPort* port = (nsPluginPort*)mWidget->GetNativeData(NS_NATIVE_PLUGIN_PORT); nsPluginEvent pluginEvent = { event, nsPluginPlatformWindowRef(port->port) }; PRBool eventHandled = PR_FALSE; mInstance->HandleEvent(&pluginEvent, &eventHandled); if (eventHandled && !(anEvent.message == NS_MOUSE_LEFT_BUTTON_DOWN && !mContentFocused)) rv = nsEventStatus_eConsumeNoDefault; } #endif  #ifdef XP_WIN  nsPluginEvent * pPluginEvent = (nsPluginEvent *)anEvent.nativeMsg;  if (pPluginEvent != nsnull) { PRBool eventHandled = PR_FALSE; mInstance->HandleEvent(pPluginEvent, &eventHandled); if (eventHandled) rv = nsEventStatus_eConsumeNoDefault; } #endif  return rv; }
  nsEventStatus ProcessEvent(const nsGUIEvent& anEvent) { return nsEventStatus_eConsumeNoDefault; }