DescriptionForce a WM_NCCALCSIZE to occur when we receive a WM_DISPLAYCHANGE notification.
The WM_DISPLAYCHANGE message is sent when monitors are added/removed. Forcing a WM_NCCALCSIZE
message to occur ensures that autohide data is recalculated which ensures that autohide taskbars continue
to popup when we hover near the bottom of the window when chrome is maximized.
BUG=472139
TEST=Connect two monitors. Run Chrome on one monitor and maximize it. Set the taskbar to autohide.
Observe that taskbar pops up when we hover near the bottom. Now disconnect the monitor where
Chrome is running. The window should move to the other monitor. Observe that the autohide taskbar
continues to work.
TBR=sky
Committed: https://crrev.com/da8843e4e8fe12e5f45eb207622045a4a473c525
Cr-Commit-Position: refs/heads/master@{#365742}
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 10 (5 generated)
|