Hooking up event passing to winless plugins

git-svn-id: svn://10.0.0.236/trunk@35378 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
av%netscape.com
1999-06-15 05:28:23 +00:00
parent 29e6fa110d
commit 593e7ef293
2 changed files with 4 additions and 6 deletions

View File

@@ -1213,11 +1213,10 @@ nsObjectFrame::HandleEvent(nsIPresContext& aPresContext,
case NS_MOUSE_MOVE:
case NS_KEY_UP:
case NS_KEY_DOWN:
//case set cursor must be here:
//anEventStatus = mInstanceOwner->ProcessEvent(*anEvent);
return rv;
case NS_GOTFOCUS:
case NS_LOSTFOCUS:
//case set cursor should be here too:
anEventStatus = mInstanceOwner->ProcessEvent(*anEvent);
return rv;
default:
break;

View File

@@ -1213,11 +1213,10 @@ nsObjectFrame::HandleEvent(nsIPresContext& aPresContext,
case NS_MOUSE_MOVE:
case NS_KEY_UP:
case NS_KEY_DOWN:
//case set cursor must be here:
//anEventStatus = mInstanceOwner->ProcessEvent(*anEvent);
return rv;
case NS_GOTFOCUS:
case NS_LOSTFOCUS:
//case set cursor should be here too:
anEventStatus = mInstanceOwner->ProcessEvent(*anEvent);
return rv;
default:
break;