DescriptionFixes bug where client area would not get set correctly
The client area is updated when the bounds change, further to
correctly calculate the client area the NonClientView has to have been
created. Prior to this fix if the window was sized during
InitNativeWidget() and never changed after that, then the client area
was not correctly set because during InitNativeWidget() the
NonClientView has not been created.
The fix is to add a NativeWidgetPrivate function that Widget calls
after it has created the NonClientView.
BUG=none
TEST=none
R=erg@chromium.org
Committed: https://crrev.com/161fa4146ef4b619df2210317a31c3a6b1670b5c
Cr-Commit-Position: refs/heads/master@{#368141}
Patch Set 1 #Messages
Total messages: 7 (2 generated)
|