Assume that gravielectromagnetism is the theory of electromagnetic fields, taking into account the action of gravitational field on the travel of photons. This theory can be described by Maxwell equations in gravitational field. These equations which take into account not only gravitational field but and fields of rotation were obtained by Zelmnov. They are considered in the book "Larissa Borissova and Dmitri Rabounski. Inside stars. Rehoboth, New Mexico, USA, 2013." The valuable bending of light ray can be great only inside strong gravitational fields, for example, created by pulsars. Gravitational field of trhe Earth is weak. therefore the effect will be very small.
The deflection of light passing a massive object is a result of the bending of spacetime. The effect was predicted by Einstein's general theory of relativity, and verified by solar eclipse astrometry in 1919.
This problem can be solved correctly by using of Maxwell equations taking into account gravitational field. In accordance these equations gravitation acts on the electric component of electromagnetic field. If the radiated object rotates, its rotation acts on magnetic component. This problem is actual for objects with valuable gravitational field and quickly rotating.
the rotation acts on magnetic component. rotates, the rotation will act on the
Let's look at a photon, an EM wave, as the wavefront of an expanding spherical shell. And after traveling over a long distance we can essentially see a section of the shell as being more-or-less a radiating sheet or a plane. Now imagine that this sheet is hurling in the direction of the sun, a massive energetic object warping space.
As the radiating wavefront approaches the sun, the sheet would move fastest through areas not directly striking the sun - just as light moves faster and faster as it leaves the gravitational field of the Earth. The portions of the sheet closer to the sun will appear to slow down, and portions that will ultimately strike the sun's surface will appear to move even slower, and the portion of the sheet that is aimed directly at the sun's center will appear to move the slowest.
The process is somewhat counterintuitive, in that the speed of light is always constant for an observer located somewhere on the sheet, yet when perceived from behind the sheet in a domain of lesser compression, it would appear that certain segments of the sheet (most prominent in those aimed directly at the sun's center) were slowing.
If you look at curvature, the compression of space, caused by a massive physical object like the sun - this warpage of space around the object is what defines the object's external gravitational field. So, to answer your question, the gravitational field of the sun compresses space surrounding it (diminishing by the inverse-square law) and causes electromagnetic waves to appear to slow down to an outside observer. Yet, remember, all positions on the EM wavefront, always travels at c in their respective local frames, regardless of where upon the sheet they might be located.