Backed out changeset ae47a8d24a63, because I have a better fix now.
Better fix for the focus handling problem. We now won't handle the tab press on the chrome side, if the tab key event was also sent to content process.