Patent attributes
An optical component such as a camera, an acoustic component such as a speaker, or other electrical component may be mounted on the surface of an electronic device housing. A window structure may overlap the component. The window structure may be formed form an optically transparent material to allow light to pass or may be formed from an acoustically transparent material to allow acoustic signals to pass. A conductive structure such as a metal member may surround at least part of the periphery of the window structure. The conductive structure may serve as an antenna structure for an antenna. Radio-frequency transceiver circuitry may be coupled to an antenna feed for the antenna using a radio-frequency transmission line. The conductive structure may serve as a cosmetic trim for the electrical component.