Those are really a thing, they're called doggles. Vets actually recommend them for dogs that spend a lot of time hanging their head out of windows, in dusty enviroments or in the sun.
They can even be made with prescription lenses for dogs with bad eyes.
http://m.petco.com/product/100299/Doggles-Protective-Eyewear-for-Dogs.aspx
They can even be made with prescription lenses for dogs with bad eyes.
http://m.petco.com/product/100299/Doggles-Protective-Eyewear-for-Dogs.aspx