Canada getting a new government?

The question here is if Trudeau does resign is which way will the government turn in its ideology, and who will decide that direction (general population or which particular branch of the current government)?