Merge 275261 "Revert 265329 "Add SM_CXSIZEFRAME and SM_CXPADDEDB..."
> Revert 265329 "Add SM_CXSIZEFRAME and SM_CXPADDEDBORDER metrics ..."
>
> This sometimes causes a few issues with multimonitor setups. Also, r274853 fixes it more thoroughly.
>
> > Add SM_CXSIZEFRAME and SM_CXPADDEDBORDER metrics to get window border size.
> >
> > Vista added the SM_CXPADDEDBORDER system metric which needs to be included
> > in the border size. The previous code happened to work with 32-bit Chrome
> > because Windows added the padding into SM_CXSIZEFRAME (and set the padding to 0)
> > for backwards compatibility, but with 64-bit that changed.
> > GetSystemMetrics(SM_CXPADDEDBORDER) should always return 0 on XP.
> >
> > BUG=361720
> >
> > Review URL: https://codereview.chromium.org/243173005
>
> BUG=361720,379321
> TBR=jbauman@chromium.org
>
> Review URL: https://codereview.chromium.org/321463003
TBR=jbauman@chromium.org
Review URL: https://codereview.chromium.org/322803003
git-svn-id: svn://svn.chromium.org/chrome/branches/1985/src@275855 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed