refactor: make NativeWindow::has_frame_ const (#47200)
* refactor: make NativeWindow::is_modal_ const * refactor: make NativeWindow::title_bar_style_ const and private * refactor: make NativeWindow::has_client_frame() protected refactor: make NativeWindow::transparent() protected * refactor: make NativeWindow::enable_larger_than_screen() protected * refactor: make NativeWindow::has_frame_ const * fixup! refactor: make NativeWindow::has_client_frame() protected fix: GetExpandedWindowSize()
This commit is contained in:
parent
8f09d7037b
commit
38e7ff944e
4 changed files with 52 additions and 56 deletions
|
|
@ -241,10 +241,6 @@ NativeWindowViews::NativeWindowViews(const gin_helper::Dictionary& options,
|
|||
}
|
||||
}
|
||||
|
||||
// |hidden| is the only non-default titleBarStyle valid on Windows and Linux.
|
||||
if (title_bar_style_ == TitleBarStyle::kHidden)
|
||||
set_has_frame(false);
|
||||
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
// If the taskbar is re-created after we start up, we have to rebuild all of
|
||||
// our buttons.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue