Was Oregon Country ceded by Mexico after Mexico War?

Not at all. The territories won over from Mexico were present-day California, Nevada, Utah, and parts of Colorado, Arizona, New Mexico, and Wyoming.