Bug 620258 add additional fall through comments to nsEventStateManager::PreHandleEvent

r=smaug
This commit is contained in:
timeless@mozdev.org 2010-12-19 19:46:00 -05:00
parent 56a2de3ed9
commit e0efbae0ff

View File

@ -1131,10 +1131,12 @@ nsEventStateManager::PreHandleEvent(nsPresContext* aPresContext,
StopTrackingDragGesture();
#endif
sNormalLMouseEventInProcess = PR_FALSE;
// then fall through...
case nsMouseEvent::eRightButton:
#ifdef XP_OS2
StopTrackingDragGesture();
#endif
// then fall through...
case nsMouseEvent::eMiddleButton:
SetClickCount(aPresContext, (nsMouseEvent*)aEvent, aStatus);
break;
@ -1205,6 +1207,7 @@ nsEventStateManager::PreHandleEvent(nsPresContext* aPresContext,
HandleAccessKey(aPresContext, keyEvent, aStatus, nsnull,
eAccessKeyProcessingNormal, modifierMask);
}
// then fall through...
case NS_KEY_DOWN:
case NS_KEY_UP:
{