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
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275261 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed