Canada's prime minister says the move would depend on Palestinian democratic reforms and elections without Hamas.