[Mac] Snap fullscreen window to screen after exiting spaces 
[Mac] Snap fullscreen window to screen after exiting spaces 

Users can arbitrarily move fullscreen windows. If the fullscreen window changes screen then the fullscreen controller will snap it to the screen. If the fullscreen window doesn't change screen then the window will remain where it is which looks weird. 

This patch fixes the issue by always snapping the window's frame to the screen any time it has moved. 

An alternative fix would be to override a new 10.6 API: -[NSWindow isMovable] and return NO. This would allow users to move windows between spaces but not the position inside a space. 

I think detecting window move is better because: 
- it works on 10.5 also 
- users with multiple monitors can uses space to move the window between monitors 

Patch by Sailesh Agrawal <fnepal@gmail.com>.

BUG=41693
TEST=Verified that the full screen window snaps to the screen when moved in Spaces. Verified that changing the screen resolution, mirroring, etc... all correct cause the full screen window to snap to the screen.
Review URL: http://codereview.chromium.org/3343009

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@58740 0039d316-1c4b-4281-b951-d872f2087c98

ropik/chromium,gavinp/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,yitian134/chromium,ropik/chromium,yitian134/chromium,ropik/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,gavinp/chromium,adobe/chromium,adobe/chromium,adobe/chromium,gavinp/chromium,yitian134/chromium,yitian134/chromium,ropik/chromium,ropik/chromium,adobe/chromium,gavinp/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,ropik/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,adobe/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,ropik/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,yitian134/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,ropik/chromium,adobe/chromium,ropik/chromium,yitian134/chromium