406.9(C) Bathtub and Shower Space. Receptacles shall not be installed within a zone measured 900 mm (3 ft) horizontally and 2.5 m (8 ft) vertically from the top of the bathtub rim or shower stall threshold. The identified zone is all-encompassing and shall include the space directly over the tub or shower stall.
Every diagram on this shows a tub or a shower with a curtain rod. My assumption is that a solid non moving peace of glass that goes above the shower head can be considered a wall and not the threshold.