Merge "Refactor InputQueue as InputEventReceiver."