mac: Fix a bug where a fullscreened window on Mavericks is too short.
There is a bug in Mavericks for applications linked against OSX 10.8 and
earlier. It requires Screens Have Separate Spaces to be enabled, and for the
window to be on a secondary screen. When AppKit Fullscreen is invoked on the
window, its final frame is 22pt too short.
This CL detects when these specific conditions occur so that the window's size
can be fixed.
Note: This is a bug buried in AppKit. Playing with methods like
-[NSWindowDelegate window:willUseFullScreenContentSize:] will not fix the
problem.
BUG=396980
Review URL: https://codereview.chromium.org/
655393002
Cr-Commit-Position: refs/heads/master@{#300166}