On Windows 8 when a metro app is snapped, all desktop applications receive a resize notification as the work area
is reduced. In Chrome the tabstrip paint would fail as the WM_GETTITLEBARINFOEX message fails to return the correct
minimize offset.

A fix went in to address this by caching the delta of the minimize button which is then applied to the corresponding
client edge. This only addressed the case when the minimize button offset was returned as 0 from the WM_GETTITLEBARINFOEX 
message. At times this offset is negative. 

Fix is to check whether the minimize button offset is > 0 before applying the cached delta.

BUG=135304
R=sky
Review URL: https://chromiumcodereview.appspot.com/10783027

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146921 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed