Your description could describe a Front Raise

As regards how the Front Raise can target the pectoral muscles, this fellow comments on underhanded Front Raises:
Depending on how you do underhand front DB raises they can be for the anterior deltoid or they can be a focus on the upper peck [sic]. When bringing the palms together at the peak of the movement in front of you its a good contraction on the upper pecks. When going more straight it hits the anterior deltoids more.
Wikipedia says many of the same things in different language (bolding mine):
It primarily works the anterior deltoid, with assistance from the serratus anterior, biceps brachii and clavicular portions of the pectoralis major.