Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(541)

Issue 6331006: Make the code for unmaximizing the window during SetBounds much simpler. (Closed)

Created:
9 years, 11 months ago by levin
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Make the code for unmaximizing the window during SetBounds much simpler. This still fixes the original bug and does it in a much simpler (and faster) way. I was previously attempting to use an API to do this rather than just setting the style directly but that API may have hidden side effects like causing a window activation on some versions of Windows. BUG=69724 TEST=WidgetWinTest::SetBoundsForZoomedWindow Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71767

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M views/widget/widget_win.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M views/widget/widget_win_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
levin
9 years, 11 months ago (2011-01-18 23:14:20 UTC) #1
Ben Goodger (Google)
9 years, 11 months ago (2011-01-18 23:16:34 UTC) #2
Does this fix the Win7 bug that Anthony assigned you earlier too?

LGTM anyway.

Powered by Google App Engine
This is Rietveld 408576698