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

Issue 1859283003: Avoid restoring maximized window down when going fullscreen. (Closed)

Created:
4 years, 8 months ago by jbauman
Modified:
4 years, 8 months ago
Reviewers:
ananta, sky
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid restoring maximized window down when going fullscreen. This was causing the window to temporarily appear at its restored size. Making HWNDMessageHandler::IsMaximized return false when fullscreened is another way of achieving the same goal - ensuring the task bar is hidden. BUG=600678 TEST=fullscreen/unfullscreen windows with/without themes on Win 7 without aero, win7 with aero, and win10. Committed: https://crrev.com/fab6a4eec6cb6b40e9931465bbc90d545a6d40ed Cr-Commit-Position: refs/heads/master@{#386864}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -10 lines) Patch
M ui/views/widget/widget_interactive_uitest.cc View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download
M ui/views/win/fullscreen_handler.h View 1 chunk +0 lines, -1 line 0 comments Download
M ui/views/win/fullscreen_handler.cc View 1 2 chunks +0 lines, -8 lines 0 comments Download
M ui/views/win/hwnd_message_handler.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (6 generated)
jbauman
4 years, 8 months ago (2016-04-08 01:11:12 UTC) #3
sky
How about test coverage?
4 years, 8 months ago (2016-04-08 15:59:35 UTC) #4
jbauman
On 2016/04/08 15:59:35, sky wrote: > How about test coverage? PTAL. Added a test that ...
4 years, 8 months ago (2016-04-12 00:50:29 UTC) #5
sky
LGTM https://codereview.chromium.org/1859283003/diff/40001/ui/views/widget/widget_interactive_uitest.cc File ui/views/widget/widget_interactive_uitest.cc (right): https://codereview.chromium.org/1859283003/diff/40001/ui/views/widget/widget_interactive_uitest.cc#newcode838 ui/views/widget/widget_interactive_uitest.cc:838: ::GetMonitorInfo(monitor, &monitor_info); ASSERT on return value?
4 years, 8 months ago (2016-04-12 13:34:03 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1859283003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1859283003/60001
4 years, 8 months ago (2016-04-12 22:35:13 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-12 23:37:29 UTC) #11
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 23:38:44 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fab6a4eec6cb6b40e9931465bbc90d545a6d40ed
Cr-Commit-Position: refs/heads/master@{#386864}

Powered by Google App Engine
This is Rietveld 408576698