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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user