Do universities such as UCSD or CSU look at high school classes in relation to desired major?

UCSD does not admit students based on academic major (http://admissions.ucsd.edu/freshmen/eval-process.html) so I would think that no, this doesn’t matter.