views: Fix multiple issues with hide-frame (fixes issue #3168)

This commit is contained in:
Marshall Greenblatt
2021-08-04 14:20:31 -04:00
parent 39dbdf8ddb
commit ad71ec9fdf
3 changed files with 28 additions and 7 deletions

View File

@@ -182,6 +182,7 @@ class CaptionlessFrameView : public views::NonClientFrameView {
void Layout() override {
client_view_bounds_.SetRect(0, 0, width(), height());
views::NonClientFrameView::Layout();
}
gfx::Size CalculatePreferredSize() const override {