Protests turned violent in Berkeley, California, on Saturday night when some masked demonstrators smashed windows while others hurled rocks at police.