I've always heard Melafix sold for fish works well for frogs as well. Dilute as listed on the bottle, soak the frog in it for a few minutes. Then bath of plain treated water to rinse. Repeat 1x a week.
May not be as effective for an eye infection as it would an infected wound on the body. But figured it could be useful incase you run into a similar problem again in the future.